1
0
Fork 0
forked from len0rd/rockbox

lcd-common: Remove direct style (line decorations) from lcd-puts* functions.

This logic is moved into apps (put_line()) which can better handle line
decorations with respect to scrolling, mulitline and other complications.

Firmware doesn't need this. The remaining drawing function know only one style,
that is foreground on background/backdrop (changing drawmode is still supported).

Change-Id: I707060edc388a7d723a7d09b0cf5cbda6ec56708
This commit is contained in:
Thomas Martitz 2013-04-16 23:47:17 +02:00
parent ad0985ea1c
commit 36e469db8b
5 changed files with 41 additions and 156 deletions

View file

@ -69,9 +69,6 @@ struct scrollinfo
int width, height;
/* pixel to skip from the beginning of the string, increments as the text scrolls */
int offset;
#ifdef HAVE_LCD_BITMAP
int style; /* line style */
#endif /* HAVE_LCD_BITMAP */
/* scroll presently forward or backward? */
bool backward;
bool bidir;