From b05eec8b1ea4cbad0b668a8974c87272acc78ed6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Dec 2005 23:37:14 +0000 Subject: 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 --- apps/gui/option_select.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'apps/gui/option_select.h') 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_ */ -- cgit v1.1