diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-04-03 16:33:23 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-12-14 23:11:30 +0100 |
commit | 1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8 (patch) | |
tree | 3ec44a4e6cfe4bfaab689e765ef3546d8dac730d /firmware/export/scroll_engine.h | |
parent | 47c8d3c14d8fdaf4749ef5e0380fb0c52140b5fb (diff) | |
download | rockbox-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/export/scroll_engine.h')
-rw-r--r-- | firmware/export/scroll_engine.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h index 55f4120893..01a9a5e33d 100644 --- a/firmware/export/scroll_engine.h +++ b/firmware/export/scroll_engine.h | |||
@@ -29,14 +29,24 @@ | |||
29 | #include <lcd.h> | 29 | #include <lcd.h> |
30 | #include "file.h" | 30 | #include "file.h" |
31 | 31 | ||
32 | void scroll_init(void) INIT_ATTR; | 32 | extern void scroll_init(void) INIT_ATTR; |
33 | void lcd_scroll_stop(const struct viewport* vp); | 33 | |
34 | void lcd_scroll_stop_line(const struct viewport* vp, int y); | 34 | extern void lcd_bidir_scroll(int threshold); |
35 | void lcd_scroll_fn(void); | 35 | extern void lcd_scroll_speed(int speed); |
36 | extern void lcd_scroll_delay(int ms); | ||
37 | |||
38 | extern void lcd_scroll_stop(void); | ||
39 | extern void lcd_scroll_stop_viewport(const struct viewport *vp); | ||
40 | extern void lcd_scroll_stop_viewport_line(const struct viewport *vp, int line); | ||
41 | extern void lcd_scroll_fn(void); | ||
36 | #ifdef HAVE_REMOTE_LCD | 42 | #ifdef HAVE_REMOTE_LCD |
37 | void lcd_remote_scroll_fn(void); | 43 | extern void lcd_remote_scroll_speed(int speed); |
38 | void lcd_remote_scroll_stop(const struct viewport* vp); | 44 | extern void lcd_remote_scroll_delay(int ms); |
39 | void lcd_remote_scroll_stop_line(const struct viewport* vp, int y); | 45 | |
46 | extern void lcd_remote_scroll_stop(void); | ||
47 | extern void lcd_remote_scroll_stop_viewport(const struct viewport *vp); | ||
48 | extern void lcd_remote_scroll_stop_viewport_line(const struct viewport *vp, int line); | ||
49 | extern void lcd_remote_scroll_fn(void); | ||
40 | #endif | 50 | #endif |
41 | 51 | ||
42 | /* internal usage, but in multiple drivers */ | 52 | /* internal usage, but in multiple drivers */ |