1
0
Fork 0
forked from len0rd/rockbox

M:Robe 500: Increase the max icon size.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22393 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-08-18 00:53:27 +00:00
parent e1832591eb
commit f451108fa8
2 changed files with 9 additions and 2 deletions

View file

@ -39,10 +39,14 @@
#define DEFAULT_VIEWER_BMP "viewers" #define DEFAULT_VIEWER_BMP "viewers"
#define DEFAULT_REMOTE_VIEWER_BMP "remote_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_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, /* We dont actually do anything with these pointers,
but they need to be grouped like this to save code but they need to be grouped like this to save code

View file

@ -100,6 +100,9 @@
#define LCD_DEPTH 16 /* 65k colours */ #define LCD_DEPTH 16 /* 65k colours */
#define LCD_PIXELFORMAT RGB565 /* rgb565 */ #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 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
should be defined as well. */ should be defined as well. */
#define HAVE_LCD_SLEEP #define HAVE_LCD_SLEEP