summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/SOURCES6
-rw-r--r--firmware/drivers/lcd-16bit.c6
-rw-r--r--firmware/drivers/lcd-h300.c10
-rw-r--r--firmware/drivers/lcd-ipod.c4
-rw-r--r--uisimulator/common/lcd-common.c2
-rw-r--r--uisimulator/win32/UI-h300.bmpbin0 -> 334712 bytes
-rw-r--r--uisimulator/win32/lcd-win32.c96
-rw-r--r--uisimulator/win32/lcd-win32.h8
-rw-r--r--uisimulator/win32/uisw32.h16
9 files changed, 119 insertions, 29 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index d8cd16e692..fb8ed7b6d7 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -98,6 +98,9 @@ drivers/i2c.c
98#if CONFIG_CODEC != SWCODEC 98#if CONFIG_CODEC != SWCODEC
99drivers/mas.c 99drivers/mas.c
100#endif 100#endif
101#ifdef IRIVER_H300_SERIES
102drivers/pcf50606.c
103#endif
101#ifdef HAVE_RTC 104#ifdef HAVE_RTC
102drivers/rtc.c 105drivers/rtc.c
103#endif 106#endif
@@ -150,6 +153,3 @@ replaygain.c
150pcm_record.c 153pcm_record.c
151#endif 154#endif
152sound.c 155sound.c
153#ifdef IRIVER_H300_SERIES
154drivers/pcf50606.c
155#endif
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index fb5e0ccbb8..9f698bbacd 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -63,6 +63,12 @@ static const char scroll_tick_table[16] = {
63 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3 63 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3
64}; 64};
65 65
66/* probably just a dummy */
67int lcd_default_contrast(void)
68{
69 return 28;
70}
71
66/* LCD init */ 72/* LCD init */
67void lcd_init(void) 73void lcd_init(void)
68{ 74{
diff --git a/firmware/drivers/lcd-h300.c b/firmware/drivers/lcd-h300.c
index 1e71da59a8..4edfe404b3 100644
--- a/firmware/drivers/lcd-h300.c
+++ b/firmware/drivers/lcd-h300.c
@@ -49,13 +49,6 @@ void lcd_write_data(const unsigned short* p_bytes, int count)
49 49
50/*** hardware configuration ***/ 50/*** hardware configuration ***/
51 51
52int lcd_default_contrast(void)
53{
54 return 28;
55}
56
57#ifndef SIMULATOR
58
59void lcd_set_contrast(int val) 52void lcd_set_contrast(int val)
60{ 53{
61 (void)val; 54 (void)val;
@@ -84,10 +77,8 @@ void lcd_roll(int lines)
84 (void)lines; 77 (void)lines;
85} 78}
86 79
87#endif /* !SIMULATOR */
88 80
89/* LCD init */ 81/* LCD init */
90#ifndef SIMULATOR
91void lcd_init_device(void) 82void lcd_init_device(void)
92{ 83{
93 /* GPO46 is LCD RESET */ 84 /* GPO46 is LCD RESET */
@@ -216,4 +207,3 @@ void lcd_update_rect(int x, int y, int width, int height)
216 lcd_write_data ((unsigned short *)&lcd_framebuffer[y][x], width); 207 lcd_write_data ((unsigned short *)&lcd_framebuffer[y][x], width);
217 } 208 }
218} 209}
219#endif /* !SIMULATOR */
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c
index 69272ccccf..f7a21044bb 100644
--- a/firmware/drivers/lcd-ipod.c
+++ b/firmware/drivers/lcd-ipod.c
@@ -120,10 +120,6 @@ static void lcd_cmd_data(int cmd, int data)
120} 120}
121 121
122/*** hardware configuration ***/ 122/*** hardware configuration ***/
123int lcd_default_contrast(void)
124{
125 return 28;
126}
127 123
128void lcd_set_contrast(int val) 124void lcd_set_contrast(int val)
129{ 125{
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index c3f74e8447..a9fc294b1a 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -30,7 +30,7 @@
30#include "lcd-x11.h" 30#include "lcd-x11.h"
31#endif 31#endif
32 32
33void lcd_blit(const unsigned char* p_data, int x, int y, int width, int height, 33void lcd_blit(const fb_data* p_data, int x, int y, int width, int height,
34 int stride) 34 int stride)
35{ 35{
36 (void)p_data; 36 (void)p_data;
diff --git a/uisimulator/win32/UI-h300.bmp b/uisimulator/win32/UI-h300.bmp
new file mode 100644
index 0000000000..2af6070884
--- /dev/null
+++ b/uisimulator/win32/UI-h300.bmp
Binary files differ
diff --git a/uisimulator/win32/lcd-win32.c b/uisimulator/win32/lcd-win32.c
index 40f74ee2d6..49c490e1f4 100644
--- a/uisimulator/win32/lcd-win32.c
+++ b/uisimulator/win32/lcd-win32.c
@@ -23,8 +23,72 @@
23#include "lcd.h" 23#include "lcd.h"
24#include "lcd-playersim.h" 24#include "lcd-playersim.h"
25 25
26char bitmap[LCD_HEIGHT][LCD_WIDTH]; /* the ui display */ 26#if LCD_DEPTH >= 16
27unsigned long bitmap[LCD_HEIGHT][LCD_WIDTH]; /* the ui display */
27 28
29BITMAPINFO256 bmi =
30{
31 {sizeof (BITMAPINFOHEADER),
32 LCD_WIDTH, -LCD_HEIGHT, 1, 32,
33 BI_RGB, 0, 0, 0, 216, 216,
34 }, /* colour lookup table for 8bit displays (standard web palette) */
35 {{0x00,0x00,0x00,0}, {0x33,0x00,0x00,0}, {0x66,0x00,0x00,0}, {0x99,0x00,0x00,0},
36 {0xcc,0x00,0x00,0}, {0xff,0x00,0x00,0}, {0x00,0x33,0x00,0}, {0x33,0x33,0x00,0},
37 {0x66,0x33,0x00,0}, {0x99,0x33,0x00,0}, {0xcc,0x33,0x00,0}, {0xff,0x33,0x00,0},
38 {0x00,0x66,0x00,0}, {0x33,0x66,0x00,0}, {0x66,0x66,0x00,0}, {0x99,0x66,0x00,0},
39 {0xcc,0x66,0x00,0}, {0xff,0x66,0x00,0}, {0x00,0x99,0x00,0}, {0x33,0x99,0x00,0},
40 {0x66,0x99,0x00,0}, {0x99,0x99,0x00,0}, {0xcc,0x99,0x00,0}, {0xff,0x99,0x00,0},
41 {0x00,0xcc,0x00,0}, {0x33,0xcc,0x00,0}, {0x66,0xcc,0x00,0}, {0x99,0xcc,0x00,0},
42 {0xcc,0xcc,0x00,0}, {0xff,0xcc,0x00,0}, {0x00,0xff,0x00,0}, {0x33,0xff,0x00,0},
43 {0x66,0xff,0x00,0}, {0x99,0xff,0x00,0}, {0xcc,0xff,0x00,0}, {0xff,0xff,0x00,0},
44 {0x00,0x00,0x33,0}, {0x33,0x00,0x33,0}, {0x66,0x00,0x33,0}, {0x99,0x00,0x33,0},
45 {0xcc,0x00,0x33,0}, {0xff,0x00,0x33,0}, {0x00,0x33,0x33,0}, {0x33,0x33,0x33,0},
46 {0x66,0x33,0x33,0}, {0x99,0x33,0x33,0}, {0xcc,0x33,0x33,0}, {0xff,0x33,0x33,0},
47 {0x00,0x66,0x33,0}, {0x33,0x66,0x33,0}, {0x66,0x66,0x33,0}, {0x99,0x66,0x33,0},
48 {0xcc,0x66,0x33,0}, {0xff,0x66,0x33,0}, {0x00,0x99,0x33,0}, {0x33,0x99,0x33,0},
49 {0x66,0x99,0x33,0}, {0x99,0x99,0x33,0}, {0xcc,0x99,0x33,0}, {0xff,0x99,0x33,0},
50 {0x00,0xcc,0x33,0}, {0x33,0xcc,0x33,0}, {0x66,0xcc,0x33,0}, {0x99,0xcc,0x33,0},
51 {0xcc,0xcc,0x33,0}, {0xff,0xcc,0x33,0}, {0x00,0xff,0x33,0}, {0x33,0xff,0x33,0},
52 {0x66,0xff,0x33,0}, {0x99,0xff,0x33,0}, {0xcc,0xff,0x33,0}, {0xff,0xff,0x33,0},
53 {0x00,0x00,0x66,0}, {0x33,0x00,0x66,0}, {0x66,0x00,0x66,0}, {0x99,0x00,0x66,0},
54 {0xcc,0x00,0x66,0}, {0xff,0x00,0x66,0}, {0x00,0x33,0x66,0}, {0x33,0x33,0x66,0},
55 {0x66,0x33,0x66,0}, {0x99,0x33,0x66,0}, {0xcc,0x33,0x66,0}, {0xff,0x33,0x66,0},
56 {0x00,0x66,0x66,0}, {0x33,0x66,0x66,0}, {0x66,0x66,0x66,0}, {0x99,0x66,0x66,0},
57 {0xcc,0x66,0x66,0}, {0xff,0x66,0x66,0}, {0x00,0x99,0x66,0}, {0x33,0x99,0x66,0},
58 {0x66,0x99,0x66,0}, {0x99,0x99,0x66,0}, {0xcc,0x99,0x66,0}, {0xff,0x99,0x66,0},
59 {0x00,0xcc,0x66,0}, {0x33,0xcc,0x66,0}, {0x66,0xcc,0x66,0}, {0x99,0xcc,0x66,0},
60 {0xcc,0xcc,0x66,0}, {0xff,0xcc,0x66,0}, {0x00,0xff,0x66,0}, {0x33,0xff,0x66,0},
61 {0x66,0xff,0x66,0}, {0x99,0xff,0x66,0}, {0xcc,0xff,0x66,0}, {0xff,0xff,0x66,0},
62 {0x00,0x00,0x99,0}, {0x33,0x00,0x99,0}, {0x66,0x00,0x99,0}, {0x99,0x00,0x99,0},
63 {0xcc,0x00,0x99,0}, {0xff,0x00,0x99,0}, {0x00,0x33,0x99,0}, {0x33,0x33,0x99,0},
64 {0x66,0x33,0x99,0}, {0x99,0x33,0x99,0}, {0xcc,0x33,0x99,0}, {0xff,0x33,0x99,0},
65 {0x00,0x66,0x99,0}, {0x33,0x66,0x99,0}, {0x66,0x66,0x99,0}, {0x99,0x66,0x99,0},
66 {0xcc,0x66,0x99,0}, {0xff,0x66,0x99,0}, {0x00,0x99,0x99,0}, {0x33,0x99,0x99,0},
67 {0x66,0x99,0x99,0}, {0x99,0x99,0x99,0}, {0xcc,0x99,0x99,0}, {0xff,0x99,0x99,0},
68 {0x00,0xcc,0x99,0}, {0x33,0xcc,0x99,0}, {0x66,0xcc,0x99,0}, {0x99,0xcc,0x99,0},
69 {0xcc,0xcc,0x99,0}, {0xff,0xcc,0x99,0}, {0x00,0xff,0x99,0}, {0x33,0xff,0x99,0},
70 {0x66,0xff,0x99,0}, {0x99,0xff,0x99,0}, {0xcc,0xff,0x99,0}, {0xff,0xff,0x99,0},
71 {0x00,0x00,0xcc,0}, {0x33,0x00,0xcc,0}, {0x66,0x00,0xcc,0}, {0x99,0x00,0xcc,0},
72 {0xcc,0x00,0xcc,0}, {0xff,0x00,0xcc,0}, {0x00,0x33,0xcc,0}, {0x33,0x33,0xcc,0},
73 {0x66,0x33,0xcc,0}, {0x99,0x33,0xcc,0}, {0xcc,0x33,0xcc,0}, {0xff,0x33,0xcc,0},
74 {0x00,0x66,0xcc,0}, {0x33,0x66,0xcc,0}, {0x66,0x66,0xcc,0}, {0x99,0x66,0xcc,0},
75 {0xcc,0x66,0xcc,0}, {0xff,0x66,0xcc,0}, {0x00,0x99,0xcc,0}, {0x33,0x99,0xcc,0},
76 {0x66,0x99,0xcc,0}, {0x99,0x99,0xcc,0}, {0xcc,0x99,0xcc,0}, {0xff,0x99,0xcc,0},
77 {0x00,0xcc,0xcc,0}, {0x33,0xcc,0xcc,0}, {0x66,0xcc,0xcc,0}, {0x99,0xcc,0xcc,0},
78 {0xcc,0xcc,0xcc,0}, {0xff,0xcc,0xcc,0}, {0x00,0xff,0xcc,0}, {0x33,0xff,0xcc,0},
79 {0x66,0xff,0xcc,0}, {0x99,0xff,0xcc,0}, {0xcc,0xff,0xcc,0}, {0xff,0xff,0xcc,0},
80 {0x00,0x00,0xff,0}, {0x33,0x00,0xff,0}, {0x66,0x00,0xff,0}, {0x99,0x00,0xff,0},
81 {0xcc,0x00,0xff,0}, {0xff,0x00,0xff,0}, {0x00,0x33,0xff,0}, {0x33,0x33,0xff,0},
82 {0x66,0x33,0xff,0}, {0x99,0x33,0xff,0}, {0xcc,0x33,0xff,0}, {0xff,0x33,0xff,0},
83 {0x00,0x66,0xff,0}, {0x33,0x66,0xff,0}, {0x66,0x66,0xff,0}, {0x99,0x66,0xff,0},
84 {0xcc,0x66,0xff,0}, {0xff,0x66,0xff,0}, {0x00,0x99,0xff,0}, {0x33,0x99,0xff,0},
85 {0x66,0x99,0xff,0}, {0x99,0x99,0xff,0}, {0xcc,0x99,0xff,0}, {0xff,0x99,0xff,0},
86 {0x00,0xcc,0xff,0}, {0x33,0xcc,0xff,0}, {0x66,0xcc,0xff,0}, {0x99,0xcc,0xff,0},
87 {0xcc,0xcc,0xff,0}, {0xff,0xcc,0xff,0}, {0x00,0xff,0xff,0}, {0x33,0xff,0xff,0},
88 {0x66,0xff,0xff,0}, {0x99,0xff,0xff,0}, {0xcc,0xff,0xff,0}, {0xff,0xff,0xff,0}}
89}; /* bitmap information */
90#else
91unsigned char bitmap[LCD_HEIGHT][LCD_WIDTH]; /* the ui display */
28RGBQUAD color_zero = {UI_LCD_BGCOLORLIGHT, 0}; 92RGBQUAD color_zero = {UI_LCD_BGCOLORLIGHT, 0};
29RGBQUAD color_max = {0, 0, 0, 0}; 93RGBQUAD color_max = {0, 0, 0, 0};
30 94
@@ -36,12 +100,12 @@ BITMAPINFO256 bmi =
36 }, 100 },
37 {} /* colour lookup table gets filled later */ 101 {} /* colour lookup table gets filled later */
38}; /* bitmap information */ 102}; /* bitmap information */
103#endif
39 104
40#ifdef HAVE_LCD_BITMAP 105#ifdef HAVE_LCD_BITMAP
41 106
42#ifdef HAVE_REMOTE_LCD 107#ifdef HAVE_REMOTE_LCD
43char remote_bitmap[LCD_REMOTE_HEIGHT][LCD_REMOTE_WIDTH]; 108unsigned char remote_bitmap[LCD_REMOTE_HEIGHT][LCD_REMOTE_WIDTH];
44
45RGBQUAD remote_color_zero = {UI_REMOTE_BGCOLORLIGHT, 0}; 109RGBQUAD remote_color_zero = {UI_REMOTE_BGCOLORLIGHT, 0};
46RGBQUAD remote_color_max = {0, 0, 0, 0}; 110RGBQUAD remote_color_max = {0, 0, 0, 0};
47 111
@@ -55,12 +119,6 @@ BITMAPINFO256 remote_bmi =
55}; 119};
56#endif 120#endif
57 121
58#if LCD_DEPTH == 1
59extern unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; /* the display */
60#elif LCD_DEPTH == 2
61extern unsigned char lcd_framebuffer[LCD_HEIGHT/4][LCD_WIDTH]; /* the display */
62#endif
63
64void lcd_update(void) 122void lcd_update(void)
65{ 123{
66 int x, y; 124 int x, y;
@@ -71,11 +129,19 @@ void lcd_update(void)
71 129
72 for (x = 0; x < LCD_WIDTH; x++) 130 for (x = 0; x < LCD_WIDTH; x++)
73 for (y = 0; y < LCD_HEIGHT; y++) 131 for (y = 0; y < LCD_HEIGHT; y++)
132 {
74#if LCD_DEPTH == 1 133#if LCD_DEPTH == 1
75 bitmap[y][x] = ((lcd_framebuffer[y/8][x] >> (y & 7)) & 1); 134 bitmap[y][x] = ((lcd_framebuffer[y/8][x] >> (y & 7)) & 1);
76#elif LCD_DEPTH == 2 135#elif LCD_DEPTH == 2
77 bitmap[y][x] = ((lcd_framebuffer[y/4][x] >> (2 * (y & 3))) & 3); 136 bitmap[y][x] = ((lcd_framebuffer[y/4][x] >> (2 * (y & 3))) & 3);
137#elif LCD_DEPTH == 16
138 fb_data pixel = lcd_framebuffer[y][x];
139 unsigned red = ((pixel >> 8) & 0xf8) | (pixel >> 13);
140 unsigned green = ((pixel >> 3) & 0xfc) | ((pixel >> 9) & 0x03);
141 unsigned blue = ((pixel << 3) & 0xf8) | ((pixel >> 2) & 0x07);
142 bitmap[y][x] = (red << 16) | (green << 8) | blue;
78#endif 143#endif
144 }
79 145
80 /* Invalidate only the window part that actually did change */ 146 /* Invalidate only the window part that actually did change */
81 GetClientRect (hGUIWnd, &r); 147 GetClientRect (hGUIWnd, &r);
@@ -106,11 +172,19 @@ void lcd_update_rect(int x_start, int y_start,
106 172
107 for (x = x_start; x < xmax; x++) 173 for (x = x_start; x < xmax; x++)
108 for (y = y_start; y < ymax; y++) 174 for (y = y_start; y < ymax; y++)
175 {
109#if LCD_DEPTH == 1 176#if LCD_DEPTH == 1
110 bitmap[y][x] = ((lcd_framebuffer[y/8][x] >> (y & 7)) & 1); 177 bitmap[y][x] = ((lcd_framebuffer[y/8][x] >> (y & 7)) & 1);
111#elif LCD_DEPTH == 2 178#elif LCD_DEPTH == 2
112 bitmap[y][x] = ((lcd_framebuffer[y/4][x] >> (2 * (y & 3))) & 3); 179 bitmap[y][x] = ((lcd_framebuffer[y/4][x] >> (2 * (y & 3))) & 3);
180#elif LCD_DEPTH == 16
181 fb_data pixel = lcd_framebuffer[y][x];
182 unsigned red = ((pixel >> 8) & 0xf8) | (pixel >> 13);
183 unsigned green = ((pixel >> 3) & 0xfc) | ((pixel >> 9) & 0x03);
184 unsigned blue = ((pixel << 3) & 0xf8) | ((pixel >> 2) & 0x07);
185 bitmap[y][x] = (red << 16) | (green << 8) | blue;
113#endif 186#endif
187 }
114 188
115 /* Invalidate only the window part that actually did change */ 189 /* Invalidate only the window part that actually did change */
116 GetClientRect (hGUIWnd, &r); 190 GetClientRect (hGUIWnd, &r);
@@ -272,6 +346,7 @@ void lcd_backlight (bool on)
272} 346}
273#endif 347#endif
274 348
349#if LCD_DEPTH <= 8
275/* set a range of bitmap indices to a gradient from startcolour to endcolour */ 350/* set a range of bitmap indices to a gradient from startcolour to endcolour */
276void lcdcolors(int index, int count, RGBQUAD *start, RGBQUAD *end) 351void lcdcolors(int index, int count, RGBQUAD *start, RGBQUAD *end)
277{ 352{
@@ -291,6 +366,7 @@ void lcdcolors(int index, int count, RGBQUAD *start, RGBQUAD *end)
291 + (end->rgbBlue - start->rgbBlue) * i / count; 366 + (end->rgbBlue - start->rgbBlue) * i / count;
292 } 367 }
293} 368}
369#endif
294 370
295#ifdef HAVE_REMOTE_LCD 371#ifdef HAVE_REMOTE_LCD
296/* set a range of bitmap indices to a gradient from startcolour to endcolour */ 372/* set a range of bitmap indices to a gradient from startcolour to endcolour */
@@ -317,7 +393,9 @@ void lcdremotecolors(int index, int count, RGBQUAD *start, RGBQUAD *end)
317/* initialise simulator lcd driver */ 393/* initialise simulator lcd driver */
318void simlcdinit(void) 394void simlcdinit(void)
319{ 395{
396#if LCD_DEPTH <= 8
320 lcdcolors(0, (1<<LCD_DEPTH), &color_zero, &color_max); 397 lcdcolors(0, (1<<LCD_DEPTH), &color_zero, &color_max);
398#endif
321#ifdef HAVE_REMOTE_LCD 399#ifdef HAVE_REMOTE_LCD
322 lcdremotecolors(0, (1<<LCD_REMOTE_DEPTH), &remote_color_zero, &remote_color_max); 400 lcdremotecolors(0, (1<<LCD_REMOTE_DEPTH), &remote_color_zero, &remote_color_max);
323#endif 401#endif
diff --git a/uisimulator/win32/lcd-win32.h b/uisimulator/win32/lcd-win32.h
index ca9c9da3ee..5aa4982c2b 100644
--- a/uisimulator/win32/lcd-win32.h
+++ b/uisimulator/win32/lcd-win32.h
@@ -30,11 +30,15 @@ typedef struct
30 RGBQUAD bmiColors[256]; 30 RGBQUAD bmiColors[256];
31} BITMAPINFO256; 31} BITMAPINFO256;
32 32
33extern char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display 33#if LCD_DEPTH >= 16
34extern unsigned long bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
35#else
36extern unsigned char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
37#endif
34extern BITMAPINFO256 bmi; // bitmap information 38extern BITMAPINFO256 bmi; // bitmap information
35 39
36#ifdef HAVE_REMOTE_LCD 40#ifdef HAVE_REMOTE_LCD
37extern char remote_bitmap[LCD_REMOTE_HEIGHT][LCD_REMOTE_WIDTH]; 41extern unsigned char remote_bitmap[LCD_REMOTE_HEIGHT][LCD_REMOTE_WIDTH];
38extern BITMAPINFO256 remote_bmi; // bitmap information 42extern BITMAPINFO256 remote_bmi; // bitmap information
39#endif 43#endif
40 44
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
index c4ce761c80..7cbaa6ce47 100644
--- a/uisimulator/win32/uisw32.h
+++ b/uisimulator/win32/uisw32.h
@@ -93,6 +93,22 @@ typedef unsigned short wchar_t;
93#define UI_REMOTE_WIDTH 128 93#define UI_REMOTE_WIDTH 128
94#define UI_REMOTE_HEIGHT 64 94#define UI_REMOTE_HEIGHT 64
95 95
96#elif defined(IRIVER_H300_SERIES)
97#define UI_TITLE "iriver H300"
98#define UI_WIDTH 288 // width of GUI window
99#define UI_HEIGHT 581 // height of GUI window
100/* high-colour */
101#define UI_LCD_POSX 26 // x position of lcd
102#define UI_LCD_POSY 36 // y position of lcd
103#define UI_LCD_WIDTH 220
104#define UI_LCD_HEIGHT 176
105#define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight)
106#define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight)
107#define UI_REMOTE_POSX 12 // x position of remote lcd
108#define UI_REMOTE_POSY 478 // y position of remote lcd
109#define UI_REMOTE_WIDTH 128
110#define UI_REMOTE_HEIGHT 64
111
96#elif defined(ARCHOS_GMINI120) 112#elif defined(ARCHOS_GMINI120)
97#define UI_TITLE "Gmini 120" 113#define UI_TITLE "Gmini 120"
98#define UI_WIDTH 370 // width of GUI window 114#define UI_WIDTH 370 // width of GUI window