From ef5286c48cff068c182d690820639d5700b4bc9c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 3 May 2008 14:26:47 +0000 Subject: remove some dead code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17320 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/option_select.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'apps/gui/option_select.h') diff --git a/apps/gui/option_select.h b/apps/gui/option_select.h index 8b43af1e5a..7c9af4409b 100644 --- a/apps/gui/option_select.h +++ b/apps/gui/option_select.h @@ -27,48 +27,6 @@ bool option_screen(struct settings_list *setting, struct viewport parent[NB_SCREENS], bool use_temp_var, unsigned char* option_title); -struct option_select -{ - const char * title; - int min_value; - int max_value; - int option; - const struct opt_items * items; -}; - -/* - * Initializes an option containing a list of choices - * - title : the title of the option - * - selected : the initially selected item - * - items : the list of items, defined in settings.h - * - nb_items : the number of items in the 'items' list - */ -extern void option_select_init_items(struct option_select * opt, - const char * title, - int selected, - const struct opt_items * items, - int nb_items); - -/* - * Gets the selected option - * - opt : the option struct - * Returns the selected option - */ -extern const char * option_select_get_text(struct option_select * opt); - -/* - * Selects the next value - * - opt : the option struct - */ -extern void option_select_next(struct option_select * opt); - -/* - * Selects the previous value - * - opt : the option struct - */ -extern void option_select_prev(struct option_select * opt); - - void option_select_next_val(struct settings_list *setting, bool previous, bool apply); -- cgit v1.2.3