Rockbox mail archive
Subject: Re: Soft Scrolling & CPU usage
From: for_spam_at_gmx.de
Date: 2003-01-03
> This is the update part of the scroll thread:
>
> lcd_clearrect(xpos, ypos, LCD_WIDTH - xmargin, h);
> lcd_putsxyofs(xpos, ypos, s->offset, s->line);
> lcd_update_rect(xpos, ypos, LCD_WIDTH - xmargin, h);
>
>
> > There already is a routine lcd_update_rect() for just updating a
> fraction of
> > the display.
> >
> > Does someone know, why it isn`t being used for scrolling ?
>
> It is used. See the code above.
pardon - my fault - looked into the wrong (outdated) sourcefile.
lcd_update_rect was already inside but not being used there.
please excuse for my error
regards
Roland
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
Page was last modified "Jan 10 2012" The Rockbox Crew
|