summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-27 11:09:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-27 11:09:09 +0000
commit8ca99d3288e416e15b1d48d2b81ea9f8bb774425 (patch)
tree037061249dacc7dc256740e91a969d3e362b8aa4 /apps/menu.h
parent96016e40598006c4e78837f3714163055af99b40 (diff)
downloadrockbox-8ca99d3288e416e15b1d48d2b81ea9f8bb774425.tar.gz
rockbox-8ca99d3288e416e15b1d48d2b81ea9f8bb774425.zip
Code Police: Remove tabs throught apps/ . Hopefully no actual code
change git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/menu.h b/apps/menu.h
index c7d6cdbeed..655c9112c4 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -91,9 +91,9 @@ struct menu_item_ex {
const char **strings; /* used with MT_RETURN_ID */
};
union {
- /* For settings */
+ /* For settings */
int (*menu_callback)(int action, const struct menu_item_ex *this_item);
- /* For everything else, except if the text is dynamic */
+ /* For everything else, except if the text is dynamic */
const struct menu_callback_with_desc {
int (*menu_callback)(int action,
const struct menu_item_ex *this_item);
@@ -102,16 +102,16 @@ struct menu_item_ex {
ICON icon; /* Icon to display */
#endif
} *callback_and_desc;
- /* For when the item text is dynamic */
- const struct menu_get_name_and_icon {
- int (*menu_callback)(int action,
+ /* For when the item text is dynamic */
+ const struct menu_get_name_and_icon {
+ int (*menu_callback)(int action,
const struct menu_item_ex *this_item);
- char *(*list_get_name)(int selected_item, void * data, char *buffer);
- void *list_get_name_data;
+ char *(*list_get_name)(int selected_item, void * data, char *buffer);
+ void *list_get_name_data;
#ifdef HAVE_LCD_BITMAP
ICON icon; /* Icon to display */
#endif
- } *menu_get_name_and_icon;
+ } *menu_get_name_and_icon;
};
};
@@ -168,12 +168,12 @@ bool do_setting_from_menu(const struct menu_item_ex *temp);
{ MT_FUNCTION_WITH_PARAM|MENU_HAS_DESC, \
{ .func_with_param = &name##__}, \
{.callback_and_desc = & name##_}};
-
+
/* As above, except the text is dynamic */
#define MENUITEM_FUNCTION_WPARAM_DYNTEXT(name, func, param, callback, \
- text_callback, text_cb_data, icon) \
- static const struct menu_get_name_and_icon name##_ \
- = {callback,text_callback,text_cb_data,icon};\
+ text_callback, text_cb_data, icon) \
+ static const struct menu_get_name_and_icon name##_ \
+ = {callback,text_callback,text_cb_data,icon};\
static const struct menu_func_with_param name##__ = {func, param}; \
static const struct menu_item_ex name = \
{ MT_FUNCTION_WITH_PARAM|MENU_DYNAMIC_DESC, \