2005-11-22 03:38:07 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 by Kevin Ferrare
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2005-11-22 03:38:07 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _GUI_OPTION_SELECT_H_
|
|
|
|
#define _GUI_OPTION_SELECT_H_
|
2008-04-23 11:07:40 +00:00
|
|
|
#include "config.h"
|
|
|
|
#include "screen_access.h"
|
2005-11-22 03:38:07 +00:00
|
|
|
#include "settings.h"
|
|
|
|
|
2008-05-15 06:58:36 +00:00
|
|
|
bool option_screen(const struct settings_list *setting,
|
2008-04-23 11:07:40 +00:00
|
|
|
struct viewport parent[NB_SCREENS],
|
2007-07-23 05:40:45 +00:00
|
|
|
bool use_temp_var, unsigned char* option_title);
|
2007-07-11 05:41:23 +00:00
|
|
|
|
2008-05-28 10:55:39 +00:00
|
|
|
#if defined(HAVE_QUICKSCREEN) || defined(HAVE_RECORDING)
|
2008-05-15 06:58:36 +00:00
|
|
|
void option_select_next_val(const struct settings_list *setting,
|
2008-05-03 12:30:40 +00:00
|
|
|
bool previous, bool apply);
|
2008-05-28 10:55:39 +00:00
|
|
|
#endif
|
2008-05-15 06:58:36 +00:00
|
|
|
char *option_get_valuestring(const struct settings_list *setting,
|
2008-05-03 12:30:40 +00:00
|
|
|
char *buffer, int buf_len,
|
|
|
|
intptr_t temp_var);
|
2008-05-04 08:11:28 +00:00
|
|
|
void option_talk_value(const struct settings_list *setting, int value, bool enqueue);
|
2008-05-28 10:55:39 +00:00
|
|
|
|
|
|
|
/* only use this for int and bool settings */
|
|
|
|
int option_value_as_int(const struct settings_list *setting);
|
|
|
|
|
2005-11-22 03:38:07 +00:00
|
|
|
#endif /* _GUI_OPTION_SELECT_H_ */
|