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
{
36 QUICKSCREEN_ITEM_COUNT
,
39 struct gui_quickscreen
41 const struct settings_list
*items
[QUICKSCREEN_ITEM_COUNT
];
42 void (*callback
)(struct gui_quickscreen
* qs
); /* called after a
47 extern bool quick_screen_f3(int button_enter
);
49 extern bool quick_screen_quick(int button_enter
);
50 int quickscreen_set_option(void *data
);
51 bool is_setting_quickscreenable(const struct settings_list
*setting
);
52 void set_as_qs_item(const struct settings_list
*setting
,
53 enum quickscreen_item item
);
54 #endif /*_GUI_QUICK_SCREEN_H_*/
55 #endif /* HAVE_QUICKSCREEN */