summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-charcell.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-04-03 16:33:23 +0200
committerThomas Martitz <kugel@rockbox.org>2013-12-14 23:11:30 +0100
commit1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8 (patch)
tree3ec44a4e6cfe4bfaab689e765ef3546d8dac730d /firmware/drivers/lcd-charcell.c
parent47c8d3c14d8fdaf4749ef5e0380fb0c52140b5fb (diff)
downloadrockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.gz
rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.zip
scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api.
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
Diffstat (limited to 'firmware/drivers/lcd-charcell.c')
-rw-r--r--firmware/drivers/lcd-charcell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c
index b59b270f9b..bdd02de1b6 100644
--- a/firmware/drivers/lcd-charcell.c
+++ b/firmware/drivers/lcd-charcell.c
@@ -377,7 +377,7 @@ void lcd_clear_viewport(void)
377 for (y = 0; y < current_vp->height; y++) 377 for (y = 0; y < current_vp->height; y++)
378 lcd_putxchar(x, y, xspace); 378 lcd_putxchar(x, y, xspace);
379 379
380 lcd_scroll_stop(current_vp); 380 lcd_scroll_stop_viewport(current_vp);
381 } 381 }
382} 382}
383 383
@@ -486,7 +486,7 @@ void lcd_puts_offset(int x, int y, const unsigned char *str, int offset)
486 return; 486 return;
487 487
488 /* make sure scrolling is turned off on the line we are updating */ 488 /* make sure scrolling is turned off on the line we are updating */
489 lcd_scroll_stop_line(current_vp, y); 489 lcd_scroll_stop_viewport_line(current_vp, y);
490 490
491 x = lcd_putsxyofs(x, y, offset, str); 491 x = lcd_putsxyofs(x, y, offset, str);
492 while (x < current_vp->width) 492 while (x < current_vp->width)
@@ -509,7 +509,7 @@ void lcd_puts_scroll_offset(int x, int y, const unsigned char *string,
509 return; 509 return;
510 510
511 /* remove any previously scrolling line at the same location */ 511 /* remove any previously scrolling line at the same location */
512 lcd_scroll_stop_line(current_vp, y); 512 lcd_scroll_stop_viewport_line(current_vp, y);
513 513
514 if (lcd_scroll_info.lines >= LCD_SCROLLABLE_LINES) return; 514 if (lcd_scroll_info.lines >= LCD_SCROLLABLE_LINES) return;
515 515