diff options
Diffstat (limited to 'apps/gui/select.h')
-rw-r--r-- | apps/gui/select.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/apps/gui/select.h b/apps/gui/select.h index 2799d80043..9bbfddf221 100644 --- a/apps/gui/select.h +++ b/apps/gui/select.h | |||
@@ -123,20 +123,6 @@ extern void gui_select_init_items(struct gui_select * select, | |||
123 | ); | 123 | ); |
124 | 124 | ||
125 | /* | 125 | /* |
126 | * Selects the next value | ||
127 | * - select : the select struct | ||
128 | */ | ||
129 | #define gui_select_next(select) \ | ||
130 | option_select_next(&(select->options)) | ||
131 | |||
132 | /* | ||
133 | * Selects the previous value | ||
134 | * - select : the select struct | ||
135 | */ | ||
136 | #define gui_select_prev(select) \ | ||
137 | option_select_prev(&(select->options)) | ||
138 | |||
139 | /* | ||
140 | * Draws the select on the given screen | 126 | * Draws the select on the given screen |
141 | * - select : the select struct | 127 | * - select : the select struct |
142 | * - display : the display on which you want to output | 128 | * - display : the display on which you want to output |
@@ -144,51 +130,6 @@ extern void gui_select_init_items(struct gui_select * select, | |||
144 | extern void gui_select_draw(struct gui_select * select, struct screen * display); | 130 | extern void gui_select_draw(struct gui_select * select, struct screen * display); |
145 | 131 | ||
146 | /* | 132 | /* |
147 | * Returns the selected value | ||
148 | * - select : the select struct | ||
149 | */ | ||
150 | #define gui_select_get_selected(_sel_) \ | ||
151 | option_select_get_selected(&((_sel_)->options)) | ||
152 | /* | ||
153 | * Cancels the select | ||
154 | * - select : the select struct | ||
155 | */ | ||
156 | #define gui_select_cancel(select) \ | ||
157 | (select)->canceled=true | ||
158 | |||
159 | /* | ||
160 | * Tells wether the select has been canceled or not | ||
161 | * - select : the select struct | ||
162 | */ | ||
163 | #define gui_select_is_canceled(select) \ | ||
164 | (select)->canceled | ||
165 | |||
166 | /* | ||
167 | * Validate the select | ||
168 | * - select : the select struct | ||
169 | */ | ||
170 | #define gui_select_validate(select) \ | ||
171 | (select)->validated=true | ||
172 | |||
173 | /* | ||
174 | * Tells wether the select is validated or not | ||
175 | * - select : the select struct | ||
176 | */ | ||
177 | #define gui_select_is_validated(select) \ | ||
178 | (select)->validated | ||
179 | |||
180 | /* | ||
181 | * Tells the select wether it should stop when reaching the min/max value | ||
182 | * or should continue (by going to max/min) | ||
183 | * - select : the select struct | ||
184 | * - scroll : | ||
185 | * - true : stops when reaching min/max | ||
186 | * - false : continues to go to max/min when reaching min/max | ||
187 | */ | ||
188 | #define gui_select_limit_loop(select, loop) \ | ||
189 | option_select_limit_loop(&((select)->options), loop) | ||
190 | |||
191 | /* | ||
192 | * Draws the select on all the screens | 133 | * Draws the select on all the screens |
193 | * - select : the select struct | 134 | * - select : the select struct |
194 | */ | 135 | */ |