1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2005 by Kevin Ferrare
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
24 #ifdef HAVE_QUICKSCREEN
26 #ifndef _GUI_QUICKSCREEN_H_
27 #define _GUI_QUICKSCREEN_H_
29 #include "screen_access.h"
31 enum QUICKSCREEN_ITEM
{
35 QUICKSCREEN_ITEM_COUNT
,
38 struct gui_quickscreen
40 const struct settings_list
*items
[QUICKSCREEN_ITEM_COUNT
];
41 void (*callback
)(struct gui_quickscreen
* qs
); /* called after a
45 bool gui_syncquickscreen_run(struct gui_quickscreen
* qs
, int button_enter
);
49 extern bool quick_screen_f3(int button_enter
);
51 extern bool quick_screen_quick(int button_enter
);
52 int quickscreen_set_option(void *data
);
53 bool is_setting_quickscreenable(const struct settings_list
*setting
);
54 void set_as_qs_item(const struct settings_list
*setting
,
55 enum QUICKSCREEN_ITEM item
);
56 #endif /*_GUI_QUICK_SCREEN_H_*/
57 #endif /* HAVE_QUICKSCREEN */