diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-10-28 00:00:00 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-10-28 00:00:00 +0000 |
| commit | 7da9477bc3401cbd90b2984f625f96f451ecaf6b (patch) | |
| tree | 8aea2c154ad0f666f57c4752fa541fa539de757c /apps/status.h | |
| parent | 3efa91ed03797dd533c0add6db750ade67499587 (diff) | |
| download | rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.zip rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.tar.gz rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.tar.bz2 rockbox-7da9477bc3401cbd90b2984f625f96f451ecaf6b.tar.xz | |
Initial multi screen support by Kévin Ferrare (Patch #1318081)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/status.h')
| -rw-r--r-- | apps/status.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/status.h b/apps/status.h index 0d8c80d..29316f9 100644 --- a/apps/status.h +++ b/apps/status.h @@ -19,6 +19,21 @@ #ifndef _STATUS_H #define _STATUS_H +extern enum playmode ff_mode; + +extern long switch_tick; +extern bool battery_state; +#ifdef HAVE_CHARGING +extern int battery_charge_step; +#endif + +#if defined(HAVE_LCD_CHARCELLS) +extern bool record; +extern bool audio; +extern bool param; +extern bool usb; +#endif + enum playmode { STATUS_PLAY, @@ -33,10 +48,12 @@ enum playmode void status_init(void); void status_set_ffmode(enum playmode mode); enum playmode status_get_ffmode(void); +int current_playmode(void); + #ifdef HAVE_LCD_BITMAP bool statusbar(bool state); #if CONFIG_KEYPAD == RECORDER_PAD -void buttonbar_set(const char* caption1, const char* caption2, +void buttonbar_set(const char* caption1, const char* caption2, const char* caption3); void buttonbar_unset(void); bool buttonbar_isset(void); |