summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-08 13:54:21 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-08 13:54:21 +0000
commita57608cfb5e36a0fba74b2bc81844ad8816e7713 (patch)
treead91463495347d00c28a6d78f5698507995b8b89 /uisimulator
parentdc2019bb091ef172b0ac2ae1b401eeafa0540fcf (diff)
downloadrockbox-a57608cfb5e36a0fba74b2bc81844ad8816e7713.tar.gz
rockbox-a57608cfb5e36a0fba74b2bc81844ad8816e7713.zip
Correct LCD background colours for b&w and greyscale SDL sims (SDL takes RGB while Win32 takes BGR)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8630 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/uisdl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 9c4d0ad5ff..dd8e558b66 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -25,6 +25,8 @@
25#include <SDL_thread.h> 25#include <SDL_thread.h>
26#include "lcd-sdl.h" 26#include "lcd-sdl.h"
27 27
28/* colour definitions are R, G, B */
29
28#if defined(ARCHOS_RECORDER) 30#if defined(ARCHOS_RECORDER)
29#define UI_TITLE "Jukebox Recorder" 31#define UI_TITLE "Jukebox Recorder"
30#define UI_WIDTH 270 // width of GUI window 32#define UI_WIDTH 270 // width of GUI window
@@ -78,14 +80,14 @@
78#define UI_WIDTH 379 // width of GUI window 80#define UI_WIDTH 379 // width of GUI window
79#define UI_HEIGHT 508 // height of GUI window 81#define UI_HEIGHT 508 // height of GUI window
80#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) 82#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight)
81#define UI_LCD_BGCOLORLIGHT 230, 216, 173 // bkgnd color of LCD (backlight) 83#define UI_LCD_BGCOLORLIGHT 173, 216, 230 // bkgnd color of LCD (backlight)
82#define UI_LCD_BLACK 0, 0, 0 // black 84#define UI_LCD_BLACK 0, 0, 0 // black
83#define UI_LCD_POSX 109 // x position of lcd 85#define UI_LCD_POSX 109 // x position of lcd
84#define UI_LCD_POSY 23 // y position of lcd 86#define UI_LCD_POSY 23 // y position of lcd
85#define UI_LCD_WIDTH 160 87#define UI_LCD_WIDTH 160
86#define UI_LCD_HEIGHT 128 88#define UI_LCD_HEIGHT 128
87#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) 89#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight)
88#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight) 90#define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 // bkgnd of remote lcd (bklight)
89#define UI_REMOTE_POSX 50 // x position of remote lcd 91#define UI_REMOTE_POSX 50 // x position of remote lcd
90#define UI_REMOTE_POSY 403 // y position of remote lcd 92#define UI_REMOTE_POSY 403 // y position of remote lcd
91#define UI_REMOTE_WIDTH 128 93#define UI_REMOTE_WIDTH 128
@@ -101,7 +103,7 @@
101#define UI_LCD_WIDTH 220 103#define UI_LCD_WIDTH 220
102#define UI_LCD_HEIGHT 176 104#define UI_LCD_HEIGHT 176
103#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) 105#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight)
104#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight) 106#define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 // bkgnd of remote lcd (bklight)
105#define UI_REMOTE_POSX 12 // x position of remote lcd 107#define UI_REMOTE_POSX 12 // x position of remote lcd
106#define UI_REMOTE_POSY 478 // y position of remote lcd 108#define UI_REMOTE_POSY 478 // y position of remote lcd
107#define UI_REMOTE_WIDTH 128 109#define UI_REMOTE_WIDTH 128
@@ -132,7 +134,7 @@
132#define UI_WIDTH 370 // width of GUI window 134#define UI_WIDTH 370 // width of GUI window
133#define UI_HEIGHT 264 // height of GUI window 135#define UI_HEIGHT 264 // height of GUI window
134#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) 136#define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight)
135#define UI_LCD_BGCOLORLIGHT 230, 160, 60 // bkgnd color of LCD (backlight) 137#define UI_LCD_BGCOLORLIGHT 60, 160, 230 // bkgnd color of LCD (backlight)
136#define UI_LCD_BLACK 0, 0, 0 // black 138#define UI_LCD_BLACK 0, 0, 0 // black
137#define UI_LCD_POSX 85 // x position of lcd 139#define UI_LCD_POSX 85 // x position of lcd
138#define UI_LCD_POSY 61 // y position of lcd (74 for real aspect) 140#define UI_LCD_POSY 61 // y position of lcd (74 for real aspect)