skin tags: fix the id3 track/disc numbers in conditionals
[maemo-rb.git] / apps / gui / quickscreen.h
blobc725eae60a1b588ab110de89bf994800e4448b4f
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
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 ****************************************************************************/
21 #include "button.h"
22 #include "config.h"
24 #ifdef HAVE_QUICKSCREEN
26 #ifndef _GUI_QUICKSCREEN_H_
27 #define _GUI_QUICKSCREEN_H_
29 #include "screen_access.h"
31 enum quickscreen_item {
32 QUICKSCREEN_TOP = 0,
33 QUICKSCREEN_LEFT,
34 QUICKSCREEN_RIGHT,
35 QUICKSCREEN_BOTTOM,
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
43 item is changed */
46 #ifdef BUTTON_F3
47 extern bool quick_screen_f3(int button_enter);
48 #endif
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 */