1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
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 ****************************************************************************/
20 #ifndef _GUI_OPTION_SELECT_H_
21 #define _GUI_OPTION_SELECT_H_
23 #include "screen_access.h"
26 bool option_screen(const struct settings_list
*setting
,
27 struct viewport parent
[NB_SCREENS
],
28 bool use_temp_var
, unsigned char* option_title
);
30 #if defined(HAVE_QUICKSCREEN) || defined(HAVE_RECORDING)
31 void option_select_next_val(const struct settings_list
*setting
,
32 bool previous
, bool apply
);
34 char *option_get_valuestring(const struct settings_list
*setting
,
35 char *buffer
, int buf_len
,
37 void option_talk_value(const struct settings_list
*setting
, int value
, bool enqueue
);
39 /* only use this for int and bool settings */
40 int option_value_as_int(const struct settings_list
*setting
);
42 #endif /* _GUI_OPTION_SELECT_H_ */