diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-03 14:26:47 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-03 14:26:47 +0000 |
commit | ef5286c48cff068c182d690820639d5700b4bc9c (patch) | |
tree | 2140c476ce04dbd4b832ac7488d2e950b3f8b0c7 /apps/gui/option_select.h | |
parent | b2ad20c2cb61a8c5848e5e42c249d5896818a44b (diff) | |
download | rockbox-ef5286c48cff068c182d690820639d5700b4bc9c.tar.gz rockbox-ef5286c48cff068c182d690820639d5700b4bc9c.zip |
remove some dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17320 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.h')
-rw-r--r-- | apps/gui/option_select.h | 42 |
1 files changed, 0 insertions, 42 deletions
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, | |||
27 | struct viewport parent[NB_SCREENS], | 27 | struct viewport parent[NB_SCREENS], |
28 | bool use_temp_var, unsigned char* option_title); | 28 | bool use_temp_var, unsigned char* option_title); |
29 | 29 | ||
30 | struct option_select | ||
31 | { | ||
32 | const char * title; | ||
33 | int min_value; | ||
34 | int max_value; | ||
35 | int option; | ||
36 | const struct opt_items * items; | ||
37 | }; | ||
38 | |||
39 | /* | ||
40 | * Initializes an option containing a list of choices | ||
41 | * - title : the title of the option | ||
42 | * - selected : the initially selected item | ||
43 | * - items : the list of items, defined in settings.h | ||
44 | * - nb_items : the number of items in the 'items' list | ||
45 | */ | ||
46 | extern void option_select_init_items(struct option_select * opt, | ||
47 | const char * title, | ||
48 | int selected, | ||
49 | const struct opt_items * items, | ||
50 | int nb_items); | ||
51 | |||
52 | /* | ||
53 | * Gets the selected option | ||
54 | * - opt : the option struct | ||
55 | * Returns the selected option | ||
56 | */ | ||
57 | extern const char * option_select_get_text(struct option_select * opt); | ||
58 | |||
59 | /* | ||
60 | * Selects the next value | ||
61 | * - opt : the option struct | ||
62 | */ | ||
63 | extern void option_select_next(struct option_select * opt); | ||
64 | |||
65 | /* | ||
66 | * Selects the previous value | ||
67 | * - opt : the option struct | ||
68 | */ | ||
69 | extern void option_select_prev(struct option_select * opt); | ||
70 | |||
71 | |||
72 | 30 | ||
73 | void option_select_next_val(struct settings_list *setting, | 31 | void option_select_next_val(struct settings_list *setting, |
74 | bool previous, bool apply); | 32 | bool previous, bool apply); |