summaryrefslogtreecommitdiffstats
path: root/apps/screens.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-22 03:38:07 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-22 03:38:07 +0000
commit74b6af93b1436dc61e8f10b3aff3c79face5faba (patch)
treef5d17c6b0adb9f6cc448a112b309a6dff7451a76 /apps/screens.h
parent8042640ce967014f10dbc0e3f382cd1876310b66 (diff)
downloadrockbox-74b6af93b1436dc61e8f10b3aff3c79face5faba.tar.gz
rockbox-74b6af93b1436dc61e8f10b3aff3c79face5faba.tar.bz2
rockbox-74b6af93b1436dc61e8f10b3aff3c79face5faba.zip
Added multi-screen support for quickscreen (mostly rewritten from scratch) and USB screen ; just looking at the hour makes me think it could be buggy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.h')
-rw-r--r--apps/screens.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/apps/screens.h b/apps/screens.h
index 60a1537e99..3de66582ee 100644
--- a/apps/screens.h
+++ b/apps/screens.h
@@ -22,7 +22,9 @@
#include "config.h"
#include "timefuncs.h"
-void usb_display_info(void);
+struct screen;
+
+void usb_display_info(struct screen * display);
void usb_screen(void);
int charging_screen(void);
void charging_splash(void);
@@ -33,15 +35,9 @@ int mmc_remove_request(void);
#if CONFIG_KEYPAD == RECORDER_PAD
int pitch_screen(void);
-bool quick_screen(const int, const int);
-#define SCREENS_QUICK BUTTON_F2
-#endif
-
-#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
-bool quick_screen(const int, const int);
-#define SCREENS_QUICK BUTTON_MODE
- /* Long press already detected so not needed here */
+extern bool quick_screen_f3(void);
#endif
+extern bool quick_screen_quick(void);
#ifdef HAVE_RTC
bool set_time_screen(const char* string, struct tm *tm);