summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-22 12:16:14 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-22 12:16:14 +0000
commit7f9d71363a8f7d179af2495746f3916cb8d020f7 (patch)
tree3968051d398ffee582916f6b0da476eb807b48f7
parentba56e03381547fd226fdbecd5d72a88673face56 (diff)
downloadrockbox-7f9d71363a8f7d179af2495746f3916cb8d020f7.tar.gz
rockbox-7f9d71363a8f7d179af2495746f3916cb8d020f7.zip
Changed name of lcd_do_puts() to lcd_puts_cont_scroll().
It is still just an local function, but it's a more describing name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3148 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-player.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c
index 29639fc64e..189cb0e899 100644
--- a/firmware/drivers/lcd-player.c
+++ b/firmware/drivers/lcd-player.c
@@ -271,10 +271,10 @@ void lcd_clear_display(void)
xlcd_update();
}
-static void lcd_do_puts(int x, int y, unsigned char *string)
+static void lcd_puts_cont_scroll(int x, int y, unsigned char *string)
{
bool update=false;
- DEBUGF("lcd_do_puts(%d, %d, \"", x, y);
+ DEBUGF("lcd_puts_cont_scroll(%d, %d, \"", x, y);
for (; *string && x<11; x++)
{
@@ -296,9 +296,9 @@ static void lcd_do_puts(int x, int y, unsigned char *string)
}
void lcd_puts(int x, int y, unsigned char *string)
{
- DEBUGF("lcd_puts(%d, %d)", x, y);
+ DEBUGF("lcd_puts(%d, %d) -> ", x, y);
scroll[y].mode=SCROLL_MODE_OFF;
- return lcd_do_puts(x, y, string);
+ return lcd_puts_cont_scroll(x, y, string);
}
void lcd_putc(int x, int y, unsigned short ch)
@@ -463,7 +463,7 @@ void lcd_puts_scroll(int x, int y, unsigned char* string )
s = &scroll[y];
- lcd_do_puts(x,y,string);
+ lcd_puts_cont_scroll(x,y,string);
s->textlen = strlen(string);
if ( s->textlen > 11-x ) {
@@ -629,7 +629,7 @@ static void scroll_thread(void)
buffer[i++]=s->text[o++];
}
buffer[11]=0;
- lcd_do_puts(s->startx, s->starty, buffer);
+ lcd_puts_cont_scroll(s->startx, s->starty, buffer);
}
}