summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-10-21 06:42:52 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-10-21 06:42:52 +0000
commit616971c71eaee14cc9e16fe105d34c202babbf7c (patch)
tree2b0497996057dedbeeac5a5ec7ac717087ed3f5b /apps/gui
parent5eac0108f973bc5a132807775f9815b789e0c787 (diff)
downloadrockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.tar.gz
rockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.zip
remove the seelection_size param from the info init call to hopefully decrease the bin size a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/list.c4
-rw-r--r--apps/gui/list.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index cc66e25a48..6727f9b998 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -1209,11 +1209,11 @@ bool simplelist_show_list(struct simplelist_info *info)
1209} 1209}
1210 1210
1211void simplelist_info_init(struct simplelist_info *info, char* title, 1211void simplelist_info_init(struct simplelist_info *info, char* title,
1212 int selection_size, int count, void* data) 1212 int count, void* data)
1213{ 1213{
1214 info->title = title; 1214 info->title = title;
1215 info->count = count; 1215 info->count = count;
1216 info->selection_size = selection_size; 1216 info->selection_size = 1;
1217 info->hide_selection = false; 1217 info->hide_selection = false;
1218 info->scroll_all = false; 1218 info->scroll_all = false;
1219 info->action_callback = NULL; 1219 info->action_callback = NULL;
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 7b9ef94ba8..e6a80f4714 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -296,6 +296,7 @@ void simplelist_addline(int line_number, const char *fmt, ...);
296 296
297/* setup the info struct. members not setup in this function need to be assigned manually 297/* setup the info struct. members not setup in this function need to be assigned manually
298 members set in this function: 298 members set in this function:
299 info.selection_size = 1;
299 info.hide_selection = false; 300 info.hide_selection = false;
300 info.scroll_all = false; 301 info.scroll_all = false;
301 info.action_callback = NULL; 302 info.action_callback = NULL;
@@ -304,7 +305,7 @@ void simplelist_addline(int line_number, const char *fmt, ...);
304 info.get_voice = NULL; 305 info.get_voice = NULL;
305*/ 306*/
306void simplelist_info_init(struct simplelist_info *info, char* title, 307void simplelist_info_init(struct simplelist_info *info, char* title,
307 int selection_size, int count, void* data); 308 int count, void* data);
308 309
309/* show a list. 310/* show a list.
310 if list->action_callback != NULL it is called with the action ACTION_REDRAW 311 if list->action_callback != NULL it is called with the action ACTION_REDRAW