summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-06-07 12:14:31 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-06-07 12:14:31 +0000
commit3823486a5864796cd7fcba07521f4ca2ebab3885 (patch)
treeab1564f9f1e7af51f320a6a17766f57788f662c3 /apps/gui/list.h
parenta1f0a83a012f01cdb39025519c95df664399deed (diff)
Add a mode the lists which doesnt show the selection marker.
Useful for the debug menus where users shouldn't think pressing select would do anything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 283676d631..021f55ef94 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -100,6 +100,7 @@ struct gui_list
char * title;
/* Optional title icon */
enum themable_icons title_icon;
+ bool show_selection_marker; /* set to true by default */
};
/*
@@ -189,7 +190,8 @@ extern void gui_synclist_limit_scroll(struct gui_synclist * lists, bool scroll);
extern void gui_synclist_flash(struct gui_synclist * lists);
extern void gui_synclist_set_title(struct gui_synclist * lists, char * title,
int icon);
-
+extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists,
+ bool hide);
/*
* Do the action implied by the given button,
* returns the action taken if any, 0 else