1
0
Fork 0
forked from len0rd/rockbox

Use array for quickscreen item settings to simplify some logic

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23380 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2009-10-28 20:41:34 +00:00
parent e5086076a0
commit ff197a4706
3 changed files with 12 additions and 30 deletions

View file

@ -27,6 +27,7 @@
#include "inttypes.h"
#include "config.h"
#include "statusbar.h" /* for the statusbar values */
#include "quickscreen.h"
#include "button.h"
#if CONFIG_CODEC == SWCODEC
#include "audio.h"
@ -507,11 +508,7 @@ struct user_settings
#endif
#ifdef HAVE_QUICKSCREEN
/* these are split because settings_list cant handle arrays */
int qs_item_top;
int qs_item_left;
int qs_item_right;
int qs_item_bottom;
int qs_items[QUICKSCREEN_ITEM_COUNT];
#endif
#if CONFIG_RTC