diff options
Diffstat (limited to 'apps/gui/option_select.h')
-rw-r--r-- | apps/gui/option_select.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/apps/gui/option_select.h b/apps/gui/option_select.h index f667993781..6adbe1e720 100644 --- a/apps/gui/option_select.h +++ b/apps/gui/option_select.h | |||
@@ -93,29 +93,4 @@ extern void option_select_next(struct option_select * opt); | |||
93 | */ | 93 | */ |
94 | extern void option_select_prev(struct option_select * opt); | 94 | extern void option_select_prev(struct option_select * opt); |
95 | 95 | ||
96 | /* | ||
97 | * Returns the selected number | ||
98 | * - opt : the option struct | ||
99 | */ | ||
100 | #define option_select_get_selected(_opt) \ | ||
101 | (_opt)->option | ||
102 | |||
103 | /* | ||
104 | * Returns the title | ||
105 | * - opt : the option struct | ||
106 | */ | ||
107 | #define option_select_get_title(_opt) \ | ||
108 | (_opt)->title | ||
109 | |||
110 | /* | ||
111 | * Tells the option selector wether it should stop when reaching the min/max value | ||
112 | * or should continue (by going to max/min) | ||
113 | * - opt : the option struct | ||
114 | * - scroll : | ||
115 | * - true : stops when reaching min/max | ||
116 | * - false : continues to go to max/min when reaching min/max | ||
117 | */ | ||
118 | #define option_select_limit_loop(_opt, loop) \ | ||
119 | (_opt)->limit_loop=loop | ||
120 | |||
121 | #endif /* _GUI_OPTION_SELECT_H_ */ | 96 | #endif /* _GUI_OPTION_SELECT_H_ */ |