quiet the masses...
[Rockbox.git] / apps / gui / quickscreen.h
bloba264a9383dbf931465a23c4536b3cc9e41beeae6
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2005 by Kevin Ferrare
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 ****************************************************************************/
19 #include "button.h"
20 #include "config.h"
22 #ifdef HAVE_QUICKSCREEN
24 #ifndef _GUI_QUICKSCREEN_H_
25 #define _GUI_QUICKSCREEN_H_
27 #include "option_select.h"
28 #include "screen_access.h"
30 enum QUICKSCREEN_ITEM {
31 QUICKSCREEN_LEFT = 0,
32 QUICKSCREEN_RIGHT,
33 QUICKSCREEN_TOP,
34 QUICKSCREEN_BOTTOM,
35 QUICKSCREEN_ITEM_COUNT,
38 struct gui_quickscreen
40 const struct settings_list *items[QUICKSCREEN_ITEM_COUNT];
41 void (*callback)(struct gui_quickscreen * qs);
45 struct gui_quickscreen;
46 bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter);
49 #ifdef BUTTON_F3
50 extern bool quick_screen_f3(int button_enter);
51 #endif
52 extern bool quick_screen_quick(int button_enter);
55 #endif /*_GUI_QUICK_SCREEN_H_*/
56 #endif /* HAVE_QUICKSCREEN */