1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
22 extern enum playmode ff_mode
;
24 extern long switch_tick
;
25 extern bool battery_state
;
27 extern int battery_charge_step
;
30 #if defined(HAVE_LCD_CHARCELLS)
48 void status_init(void);
49 void status_set_ffmode(enum playmode mode
);
50 enum playmode
status_get_ffmode(void);
51 int current_playmode(void);
53 #ifdef HAVE_LCD_BITMAP
54 bool statusbar(bool state
);
55 #if CONFIG_KEYPAD == RECORDER_PAD
56 void buttonbar_set(const char* caption1
, const char* caption2
,
57 const char* caption3
);
58 void buttonbar_unset(void);
59 bool buttonbar_isset(void);
60 void buttonbar_draw(void);
61 #define BUTTONBAR_HEIGHT 8
62 #endif /* CONFIG_KEYPAD == RECORDER_PAD */
63 #endif /* HAVE_LCD_BITMAP */
64 void status_draw(bool force_redraw
);
66 #if defined(HAVE_LCD_CHARCELLS)
67 void status_set_record(bool b
);
68 void status_set_audio(bool b
);
69 void status_set_param(bool b
);
70 void status_set_usb(bool b
);