Changeset 14975


Ignore:
Timestamp:
03/29/12 17:53:33 (12 years ago)
Author:
nit
Message:

[titan] change animation logik

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/fb.h

    r14927 r14975  
    398398                int width = (fb->width - rightoffset) - leftoffset;
    399399                int height = (fb->height - topoffset) - bottomoffset;
    400                 max = 50;
     400                max = 25;
    401401                if(status.screenanim == 1 || status.screenanim == 3)
    402402                {
     
    409409                        bltData.dst_bottom = (height / 2) + 1;
    410410                }
    411                 wstep = width / 50;
    412                 hstep = height / 50;
     411                wstep = width / max;
     412                hstep = height / max;
    413413        }
    414414
     
    440440                }
    441441
    442                 if(status.screenanim > 0) usleep(status.screenanimspeed * 500);
     442                if(status.screenanim > 0) usleep(status.screenanimspeed * 1000);
    443443
    444444                if (ioctl(fb->fd, STMFBIO_BLT, &bltData) < 0)
Note: See TracChangeset for help on using the changeset viewer.