diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-18 00:53:27 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-18 00:53:27 +0000 |
| commit | f451108fa857fe16f35fa3beb5278e36fed74c67 (patch) | |
| tree | 0c197d7b1f8c316ca8864c98a3c7758e4735f22a | |
| parent | e1832591eb98d61dd0b5cac7eb58a6afaf44b31e (diff) | |
| download | rockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.zip rockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.tar.gz rockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.tar.bz2 rockbox-f451108fa857fe16f35fa3beb5278e36fed74c67.tar.xz | |
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.c | 8 | ||||
| -rw-r--r-- | firmware/export/config-mrobe500.h | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c index 3e1e793..6a5ff70 100644 --- a/apps/gui/icon.c +++ b/apps/gui/icon.c @@ -39,10 +39,14 @@ #define DEFAULT_VIEWER_BMP "viewers" #define DEFAULT_REMOTE_VIEWER_BMP "remote_viewers" -/* These should probably be moved to config-<target>.h */ +/* These can be defined in config-<target>.h, if it is not provide defaults */ +#if !defined(MAX_ICON_HEIGHT) #define MAX_ICON_HEIGHT 24 -#define MAX_ICON_WIDTH 24 +#endif +#if !defined(MAX_ICON_WIDTH) +#define MAX_ICON_WIDTH 24 +#endif /* We dont actually do anything with these pointers, 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 ab5e37d..29591ce 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -100,6 +100,9 @@ #define LCD_DEPTH 16 /* 65k colours */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ +#define MAX_ICON_HEIGHT 35 +#define MAX_ICON_WIDTH 35 + /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE should be defined as well. */ #define HAVE_LCD_SLEEP |