forked from len0rd/rockbox
minor adjustments for the x5 LCD, we're back at 16 bits for upper LCD layers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8746 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3e496e3ecf
commit
abbdcacfbd
2 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,8 @@
|
||||||
/* LCD dimensions */
|
/* LCD dimensions */
|
||||||
#define LCD_WIDTH 160
|
#define LCD_WIDTH 160
|
||||||
#define LCD_HEIGHT 128
|
#define LCD_HEIGHT 128
|
||||||
#define LCD_DEPTH 18 /* pseudo 262.144 colors */
|
#define LCD_DEPTH 16 /* pseudo 262.144 colors */
|
||||||
|
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
|
||||||
|
|
||||||
/* remote LCD */
|
/* remote LCD */
|
||||||
#define LCD_REMOTE_WIDTH 128
|
#define LCD_REMOTE_WIDTH 128
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,7 @@
|
||||||
#define UI_REMOTE_HEIGHT 64
|
#define UI_REMOTE_HEIGHT 64
|
||||||
|
|
||||||
#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight)
|
#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight)
|
||||||
|
#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern SDL_Surface *gui_surface;
|
extern SDL_Surface *gui_surface;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue