Add a browse (remote) custom statusbar item in the theme settings.
[kugel-rb.git] / apps / gui / option_select.h
bloba8661fb8ad27a299c92e142bdec5a52c0bd6fc06
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 ****************************************************************************/
22 #ifndef _GUI_OPTION_SELECT_H_
23 #define _GUI_OPTION_SELECT_H_
24 #include "config.h"
25 #include "screen_access.h"
26 #include "settings.h"
28 bool option_screen(const struct settings_list *setting,
29 struct viewport parent[NB_SCREENS],
30 bool use_temp_var, unsigned char* option_title);
32 #if defined(HAVE_QUICKSCREEN) || defined(HAVE_RECORDING)
33 void option_select_next_val(const struct settings_list *setting,
34 bool previous, bool apply);
35 #endif
36 const char *option_get_valuestring(const struct settings_list *setting,
37 char *buffer, int buf_len,
38 intptr_t temp_var);
39 void option_talk_value(const struct settings_list *setting, int value, bool enqueue);
41 /* only use this for int and bool settings */
42 int option_value_as_int(const struct settings_list *setting);
44 #endif /* _GUI_OPTION_SELECT_H_ */