From e454a3985275819d998b84bc0cf7b7b8ad9eab00 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 29 Aug 2009 14:42:03 +0000 Subject: Quickscreen: 4th item This adds a 4th top item to the quickscreen. It's as configurable as the existing three items. This patch goes along with optimisations for small screens for better displaying of all four items. 14px font is very usable on a 64px height display for example. Left and Top items go through the items in the opposite direction, so that you can mirror a setting and toggle through it in both directions. Default item is party mode, as it's target independant. Flyspray: FS#9706 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22532 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index 23f07cb24c..db69f6cb9b 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1525,6 +1525,10 @@ const struct settings_list settings[] = { ID2P(LANG_NORMAL), ID2P(LANG_HIGH)), #endif #ifdef HAVE_QUICKSCREEN + CUSTOM_SETTING(0, qs_item_top, LANG_TOP_QS_ITEM, + &global_settings.party_mode, "qs top", + qs_load_from_cfg, qs_write_to_cfg, + qs_is_changed, qs_set_default), CUSTOM_SETTING(0, qs_item_left, LANG_LEFT_QS_ITEM, &global_settings.playlist_shuffle, "qs left", qs_load_from_cfg, qs_write_to_cfg, -- cgit v1.2.3