mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
* surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in struct scrollinfo in scroll_engine.h.
* remove function prototypes which are not actualy defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24693 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c25fa88a5
commit
d50c78c238
4 changed files with 3 additions and 11 deletions
|
|
@ -367,7 +367,6 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string,
|
|||
|
||||
s->vp = current_vp;
|
||||
s->y = y;
|
||||
s->len = utf8length(string);
|
||||
s->offset = offset;
|
||||
s->startx = x * LCDFN(getstringsize)(" ", NULL, NULL);
|
||||
s->backward = false;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,9 @@ struct scrollinfo
|
|||
{
|
||||
struct viewport* vp;
|
||||
char line[SCROLL_LINE_SIZE];
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
int len; /* length of line in chars */
|
||||
#endif
|
||||
int y; /* Position of the line on the screen (char co-ordinates) */
|
||||
int offset;
|
||||
int startx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue