summaryrefslogtreecommitdiff
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
commitbdbdb97f19655a635a2d37f81f9fe1e31f9162b2 (patch)
treeea5672478b70e550910bc179a7644afa70c0d057 /apps/menus/display_menu.c
parentc1b8df05e1def3096ff6d2ea55f23b2e72936fce (diff)
downloadrockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.tar.gz
rockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.zip
FS#9051 - remove LCD margins... use viewports if you need them...
NOTE to WPS people.... %m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored. Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected. Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 5ba8c2ecb1..e52a6c98ad 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -21,6 +21,7 @@
21#include <stddef.h> 21#include <stddef.h>
22#include <limits.h> 22#include <limits.h>
23#include "config.h" 23#include "config.h"
24#include "events.h"
24#include "lang.h" 25#include "lang.h"
25#include "action.h" 26#include "action.h"
26#include "settings.h" 27#include "settings.h"
@@ -35,6 +36,7 @@
35#include "lcd.h" 36#include "lcd.h"
36#include "lcd-remote.h" 37#include "lcd-remote.h"
37#include "backdrop.h" 38#include "backdrop.h"
39#include "statusbar.h"
38 40
39#ifdef HAVE_BACKLIGHT 41#ifdef HAVE_BACKLIGHT
40static int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item) 42static int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
@@ -300,6 +302,7 @@ static int statusbar_callback(int action,const struct menu_item_ex *this_item)
300 switch (action) 302 switch (action)
301 { 303 {
302 case ACTION_EXIT_MENUITEM: 304 case ACTION_EXIT_MENUITEM:
305 send_event(STATUSBAR_TOGGLE_EVENT, NULL);
303 /* this should be changed so only the viewports are reloaded */ 306 /* this should be changed so only the viewports are reloaded */
304 settings_apply(false); 307 settings_apply(false);
305 break; 308 break;