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 ****************************************************************************/
22 #ifndef _GUI_OPTION_SELECT_H_
23 #define _GUI_OPTION_SELECT_H_
25 #include "screen_access.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
);
36 const char *option_get_valuestring(const struct settings_list
*setting
,
37 char *buffer
, int buf_len
,
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_ */