diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-12-05 23:37:14 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-12-05 23:37:14 +0000 |
| commit | b05eec8b1ea4cbad0b668a8974c87272acc78ed6 (patch) | |
| tree | d3df417790fe731d9ef7f65d01a11cbd374285dc /apps/gui/option_select.h | |
| parent | f981ea93fb411019133a022c7dd873166d66b5dd (diff) | |
| download | rockbox-b05eec8b1ea4cbad0b668a8974c87272acc78ed6.zip rockbox-b05eec8b1ea4cbad0b668a8974c87272acc78ed6.tar.gz rockbox-b05eec8b1ea4cbad0b668a8974c87272acc78ed6.tar.bz2 rockbox-b05eec8b1ea4cbad0b668a8974c87272acc78ed6.tar.xz | |
Big Code Police raid. Pretty pretty please, we do no macrofy simple
assignments and things just to make them appear as function calls. That makes
code harder to follow. Did some gcc4 warning fixes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8163 a1c6a512-1295-4272-9138-f99709370657
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 f667993..6adbe1e 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); */ extern void option_select_prev(struct option_select * opt); -/* - * Returns the selected number - * - opt : the option struct - */ -#define option_select_get_selected(_opt) \ - (_opt)->option - -/* - * Returns the title - * - opt : the option struct - */ -#define option_select_get_title(_opt) \ - (_opt)->title - -/* - * Tells the option selector wether it should stop when reaching the min/max value - * or should continue (by going to max/min) - * - opt : the option struct - * - scroll : - * - true : stops when reaching min/max - * - false : continues to go to max/min when reaching min/max - */ -#define option_select_limit_loop(_opt, loop) \ - (_opt)->limit_loop=loop - #endif /* _GUI_OPTION_SELECT_H_ */ |