summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-08-18 00:53:27 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-08-18 00:53:27 +0000
commitf451108fa857fe16f35fa3beb5278e36fed74c67 (patch)
tree0c197d7b1f8c316ca8864c98a3c7758e4735f22a
parente1832591eb98d61dd0b5cac7eb58a6afaf44b31e (diff)
downloadrockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.tar.gz
rockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.zip
M:Robe 500: Increase the max icon size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22393 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/icon.c8
-rw-r--r--firmware/export/config-mrobe500.h3
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index 3e1e793194..6a5ff708d1 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -39,10 +39,14 @@
39#define DEFAULT_VIEWER_BMP "viewers" 39#define DEFAULT_VIEWER_BMP "viewers"
40#define DEFAULT_REMOTE_VIEWER_BMP "remote_viewers" 40#define DEFAULT_REMOTE_VIEWER_BMP "remote_viewers"
41 41
42/* These should probably be moved to config-<target>.h */ 42/* These can be defined in config-<target>.h, if it is not provide defaults */
43#if !defined(MAX_ICON_HEIGHT)
43#define MAX_ICON_HEIGHT 24 44#define MAX_ICON_HEIGHT 24
44#define MAX_ICON_WIDTH 24 45#endif
45 46
47#if !defined(MAX_ICON_WIDTH)
48#define MAX_ICON_WIDTH 24
49#endif
46 50
47/* We dont actually do anything with these pointers, 51/* We dont actually do anything with these pointers,
48 but they need to be grouped like this to save code 52 but they need to be grouped like this to save code
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index ab5e37d20b..29591ce99a 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -100,6 +100,9 @@
100#define LCD_DEPTH 16 /* 65k colours */ 100#define LCD_DEPTH 16 /* 65k colours */
101#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 101#define LCD_PIXELFORMAT RGB565 /* rgb565 */
102 102
103#define MAX_ICON_HEIGHT 35
104#define MAX_ICON_WIDTH 35
105
103/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE 106/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
104 should be defined as well. */ 107 should be defined as well. */
105#define HAVE_LCD_SLEEP 108#define HAVE_LCD_SLEEP