diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-03-19 06:59:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-03-19 06:59:36 +0000 |
commit | 4582f233ce48d8ba513fb7128eac3ee848bad1c5 (patch) | |
tree | 35dbc636182f76a242f01576709332cbcc99a334 | |
parent | 341407ace1812564c608fe9d958d4dfd541b49fb (diff) | |
download | rockbox-4582f233ce48d8ba513fb7128eac3ee848bad1c5.tar.gz rockbox-4582f233ce48d8ba513fb7128eac3ee848bad1c5.zip |
code policed // comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9112 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | uisimulator/sdl/lcd-bitmap.h | 2 | ||||
-rw-r--r-- | uisimulator/sdl/lcd-charcell.h | 2 | ||||
-rw-r--r-- | uisimulator/sdl/lcd-remote.h | 2 | ||||
-rw-r--r-- | uisimulator/sdl/lcd-sdl.h | 2 | ||||
-rw-r--r-- | uisimulator/sdl/thread-sdl.h | 2 | ||||
-rw-r--r-- | uisimulator/sdl/uisdl.c | 4 | ||||
-rw-r--r-- | uisimulator/sdl/uisdl.h | 194 |
7 files changed, 104 insertions, 104 deletions
diff --git a/uisimulator/sdl/lcd-bitmap.h b/uisimulator/sdl/lcd-bitmap.h index 31403385b9..20288c772d 100644 --- a/uisimulator/sdl/lcd-bitmap.h +++ b/uisimulator/sdl/lcd-bitmap.h | |||
@@ -29,5 +29,5 @@ void sim_lcd_ex_init(int shades, unsigned long (*getpixel)(int, int)); | |||
29 | void sim_lcd_ex_update_rect(int x, int y, int width, int height); | 29 | void sim_lcd_ex_update_rect(int x, int y, int width, int height); |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #endif // #ifndef __LCDBITMAP_H__ | 32 | #endif /* #ifndef __LCDBITMAP_H__ */ |
33 | 33 | ||
diff --git a/uisimulator/sdl/lcd-charcell.h b/uisimulator/sdl/lcd-charcell.h index e82412f574..0c154a0ae7 100644 --- a/uisimulator/sdl/lcd-charcell.h +++ b/uisimulator/sdl/lcd-charcell.h | |||
@@ -25,5 +25,5 @@ | |||
25 | 25 | ||
26 | void sim_lcd_init(void); | 26 | void sim_lcd_init(void); |
27 | 27 | ||
28 | #endif // #ifndef __LCDCHARCELL_H__ | 28 | #endif /* #ifndef __LCDCHARCELL_H__ */ |
29 | 29 | ||
diff --git a/uisimulator/sdl/lcd-remote.h b/uisimulator/sdl/lcd-remote.h index aebe304fb9..7def1e723c 100644 --- a/uisimulator/sdl/lcd-remote.h +++ b/uisimulator/sdl/lcd-remote.h | |||
@@ -25,5 +25,5 @@ | |||
25 | 25 | ||
26 | void sim_lcd_remote_init(void); | 26 | void sim_lcd_remote_init(void); |
27 | 27 | ||
28 | #endif // #ifndef __LCDREMOTE_H__ | 28 | #endif /* #ifndef __LCDREMOTE_H__ */ |
29 | 29 | ||
diff --git a/uisimulator/sdl/lcd-sdl.h b/uisimulator/sdl/lcd-sdl.h index 10c2ea74b5..85a885f3fd 100644 --- a/uisimulator/sdl/lcd-sdl.h +++ b/uisimulator/sdl/lcd-sdl.h | |||
@@ -36,5 +36,5 @@ void sdl_gui_update(SDL_Surface *surface, int x_start, int y_start, int width, | |||
36 | void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end, | 36 | void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end, |
37 | int first, int steps); | 37 | int first, int steps); |
38 | 38 | ||
39 | #endif // #ifndef __LCDSDL_H__ | 39 | #endif /* #ifndef __LCDSDL_H__ */ |
40 | 40 | ||
diff --git a/uisimulator/sdl/thread-sdl.h b/uisimulator/sdl/thread-sdl.h index 30d0adae49..0bb6ded0d5 100644 --- a/uisimulator/sdl/thread-sdl.h +++ b/uisimulator/sdl/thread-sdl.h | |||
@@ -26,5 +26,5 @@ extern SDL_Thread* threads[256]; | |||
26 | extern int threadCount; | 26 | extern int threadCount; |
27 | extern SDL_mutex* mutex; | 27 | extern SDL_mutex* mutex; |
28 | 28 | ||
29 | #endif // #ifndef __THREADSDL_H__ | 29 | #endif /* #ifndef __THREADSDL_H__ */ |
30 | 30 | ||
diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c index b0b422f910..75531d263f 100644 --- a/uisimulator/sdl/uisdl.c +++ b/uisimulator/sdl/uisdl.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "SDL_thread.h" | 38 | #include "SDL_thread.h" |
39 | 39 | ||
40 | /* extern functions */ | 40 | /* extern functions */ |
41 | extern void app_main (void *); // mod entry point | 41 | extern void app_main (void *); /* mod entry point */ |
42 | extern void new_key(int key); | 42 | extern void new_key(int key); |
43 | extern void sim_tick_tasks(void); | 43 | extern void sim_tick_tasks(void); |
44 | 44 | ||
@@ -95,7 +95,7 @@ void gui_message_loop(void) | |||
95 | done = true; | 95 | done = true; |
96 | break; | 96 | break; |
97 | default: | 97 | default: |
98 | //printf("Unhandled event\n"); | 98 | /*printf("Unhandled event\n"); */ |
99 | break; | 99 | break; |
100 | } | 100 | } |
101 | } | 101 | } |
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 70b8e18bd1..313b29b469 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h | |||
@@ -27,167 +27,167 @@ | |||
27 | 27 | ||
28 | #if defined(ARCHOS_RECORDER) | 28 | #if defined(ARCHOS_RECORDER) |
29 | #define UI_TITLE "Jukebox Recorder" | 29 | #define UI_TITLE "Jukebox Recorder" |
30 | #define UI_WIDTH 270 // width of GUI window | 30 | #define UI_WIDTH 270 /* width of GUI window */ |
31 | #define UI_HEIGHT 406 // height of GUI window | 31 | #define UI_HEIGHT 406 /* height of GUI window */ |
32 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 32 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
33 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 // bkgnd color of LCD (backlight) | 33 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 /* bkgnd color of LCD (backlight) */ |
34 | #define UI_LCD_BLACK 0, 0, 0 // black | 34 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
35 | #define UI_LCD_POSX 80 // x position of lcd | 35 | #define UI_LCD_POSX 80 /* x position of lcd */ |
36 | #define UI_LCD_POSY 104 // y position of lcd (96 for real aspect) | 36 | #define UI_LCD_POSY 104 /* y position of lcd (96 for real aspect) */ |
37 | #define UI_LCD_WIDTH 112 | 37 | #define UI_LCD_WIDTH 112 |
38 | #define UI_LCD_HEIGHT 64 // (80 for real aspect) | 38 | #define UI_LCD_HEIGHT 64 /* (80 for real aspect) */ |
39 | 39 | ||
40 | #elif defined(ARCHOS_PLAYER) | 40 | #elif defined(ARCHOS_PLAYER) |
41 | #define UI_TITLE "Jukebox Player" | 41 | #define UI_TITLE "Jukebox Player" |
42 | #define UI_WIDTH 284 // width of GUI window | 42 | #define UI_WIDTH 284 /* width of GUI window */ |
43 | #define UI_HEIGHT 420 // height of GUI window | 43 | #define UI_HEIGHT 420 /* height of GUI window */ |
44 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 44 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
45 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 // bkgnd color of LCD (backlight) | 45 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 /* bkgnd color of LCD (backlight) */ |
46 | #define UI_LCD_BLACK 0, 0, 0 // black | 46 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
47 | #define UI_LCD_POSX 75 // x position of lcd | 47 | #define UI_LCD_POSX 75 /* x position of lcd */ |
48 | #define UI_LCD_POSY 116 // y position of lcd | 48 | #define UI_LCD_POSY 116 /* y position of lcd */ |
49 | #define UI_LCD_WIDTH 132 | 49 | #define UI_LCD_WIDTH 132 |
50 | #define UI_LCD_HEIGHT 64 | 50 | #define UI_LCD_HEIGHT 64 |
51 | 51 | ||
52 | #elif defined(ARCHOS_FMRECORDER) || defined(ARCHOS_RECORDERV2) | 52 | #elif defined(ARCHOS_FMRECORDER) || defined(ARCHOS_RECORDERV2) |
53 | #define UI_TITLE "Jukebox FM Recorder" | 53 | #define UI_TITLE "Jukebox FM Recorder" |
54 | #define UI_WIDTH 285 // width of GUI window | 54 | #define UI_WIDTH 285 /* width of GUI window */ |
55 | #define UI_HEIGHT 414 // height of GUI window | 55 | #define UI_HEIGHT 414 /* height of GUI window */ |
56 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 56 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
57 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 // bkgnd color of LCD (backlight) | 57 | #define UI_LCD_BGCOLORLIGHT 126, 229, 126 /* bkgnd color of LCD (backlight) */ |
58 | #define UI_LCD_BLACK 0, 0, 0 // black | 58 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
59 | #define UI_LCD_POSX 87 // x position of lcd | 59 | #define UI_LCD_POSX 87 /* x position of lcd */ |
60 | #define UI_LCD_POSY 77 // y position of lcd (69 for real aspect) | 60 | #define UI_LCD_POSY 77 /* y position of lcd (69 for real aspect) */ |
61 | #define UI_LCD_WIDTH 112 | 61 | #define UI_LCD_WIDTH 112 |
62 | #define UI_LCD_HEIGHT 64 // (80 for real aspect) | 62 | #define UI_LCD_HEIGHT 64 /* (80 for real aspect) */ |
63 | 63 | ||
64 | #elif defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM) | 64 | #elif defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM) |
65 | #define UI_TITLE "Ondio" | 65 | #define UI_TITLE "Ondio" |
66 | #define UI_WIDTH 155 // width of GUI window | 66 | #define UI_WIDTH 155 /* width of GUI window */ |
67 | #define UI_HEIGHT 334 // height of GUI window | 67 | #define UI_HEIGHT 334 /* height of GUI window */ |
68 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 68 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
69 | #define UI_LCD_BGCOLORLIGHT 90, 145, 90 // bkgnd color of LCD (backlight) | 69 | #define UI_LCD_BGCOLORLIGHT 90, 145, 90 /* bkgnd color of LCD (backlight) */ |
70 | #define UI_LCD_BLACK 0, 0, 0 // black | 70 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
71 | #define UI_LCD_POSX 21 // x position of lcd | 71 | #define UI_LCD_POSX 21 /* x position of lcd */ |
72 | #define UI_LCD_POSY 82 // y position of lcd (74 for real aspect) | 72 | #define UI_LCD_POSY 82 /* y position of lcd (74 for real aspect) */ |
73 | #define UI_LCD_WIDTH 112 | 73 | #define UI_LCD_WIDTH 112 |
74 | #define UI_LCD_HEIGHT 64 // (80 for real aspect) | 74 | #define UI_LCD_HEIGHT 64 /* (80 for real aspect) */ |
75 | 75 | ||
76 | #elif defined(IRIVER_H120) || defined(IRIVER_H100) | 76 | #elif defined(IRIVER_H120) || defined(IRIVER_H100) |
77 | #define UI_TITLE "iriver H1x0" | 77 | #define UI_TITLE "iriver H1x0" |
78 | #define UI_WIDTH 379 // width of GUI window | 78 | #define UI_WIDTH 379 /* width of GUI window */ |
79 | #define UI_HEIGHT 508 // height of GUI window | 79 | #define UI_HEIGHT 508 /* height of GUI window */ |
80 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 80 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
81 | #define UI_LCD_BGCOLORLIGHT 173, 216, 230 // bkgnd color of LCD (backlight) | 81 | #define UI_LCD_BGCOLORLIGHT 173, 216, 230 /* bkgnd color of LCD (backlight) */ |
82 | #define UI_LCD_BLACK 0, 0, 0 // black | 82 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
83 | #define UI_LCD_POSX 109 // x position of lcd | 83 | #define UI_LCD_POSX 109 /* x position of lcd */ |
84 | #define UI_LCD_POSY 23 // y position of lcd | 84 | #define UI_LCD_POSY 23 /* y position of lcd */ |
85 | #define UI_LCD_WIDTH 160 | 85 | #define UI_LCD_WIDTH 160 |
86 | #define UI_LCD_HEIGHT 128 | 86 | #define UI_LCD_HEIGHT 128 |
87 | #define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) | 87 | #define UI_REMOTE_BGCOLOR 90, 145, 90 /* bkgnd of remote lcd (no bklight) */ |
88 | #define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 // bkgnd of remote lcd (bklight) | 88 | #define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 /* bkgnd of remote lcd (bklight) */ |
89 | #define UI_REMOTE_POSX 50 // x position of remote lcd | 89 | #define UI_REMOTE_POSX 50 /* x position of remote lcd */ |
90 | #define UI_REMOTE_POSY 403 // y position of remote lcd | 90 | #define UI_REMOTE_POSY 403 /* y position of remote lcd */ |
91 | #define UI_REMOTE_WIDTH 128 | 91 | #define UI_REMOTE_WIDTH 128 |
92 | #define UI_REMOTE_HEIGHT 64 | 92 | #define UI_REMOTE_HEIGHT 64 |
93 | 93 | ||
94 | #elif defined(IRIVER_H300) | 94 | #elif defined(IRIVER_H300) |
95 | #define UI_TITLE "iriver H300" | 95 | #define UI_TITLE "iriver H300" |
96 | #define UI_WIDTH 288 // width of GUI window | 96 | #define UI_WIDTH 288 /* width of GUI window */ |
97 | #define UI_HEIGHT 581 // height of GUI window | 97 | #define UI_HEIGHT 581 /* height of GUI window */ |
98 | /* high-colour */ | 98 | /* high-colour */ |
99 | #define UI_LCD_POSX 26 // x position of lcd | 99 | #define UI_LCD_POSX 26 /* x position of lcd */ |
100 | #define UI_LCD_POSY 36 // y position of lcd | 100 | #define UI_LCD_POSY 36 /* y position of lcd */ |
101 | #define UI_LCD_WIDTH 220 | 101 | #define UI_LCD_WIDTH 220 |
102 | #define UI_LCD_HEIGHT 176 | 102 | #define UI_LCD_HEIGHT 176 |
103 | #define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) | 103 | #define UI_REMOTE_BGCOLOR 90, 145, 90 /* bkgnd of remote lcd (no bklight) */ |
104 | #define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 // bkgnd of remote lcd (bklight) | 104 | #define UI_REMOTE_BGCOLORLIGHT 130, 180, 250 /* bkgnd of remote lcd (bklight) */ |
105 | #define UI_REMOTE_POSX 12 // x position of remote lcd | 105 | #define UI_REMOTE_POSX 12 /* x position of remote lcd */ |
106 | #define UI_REMOTE_POSY 478 // y position of remote lcd | 106 | #define UI_REMOTE_POSY 478 /* y position of remote lcd */ |
107 | #define UI_REMOTE_WIDTH 128 | 107 | #define UI_REMOTE_WIDTH 128 |
108 | #define UI_REMOTE_HEIGHT 64 | 108 | #define UI_REMOTE_HEIGHT 64 |
109 | 109 | ||
110 | #elif defined(IPOD_4G) | 110 | #elif defined(IPOD_4G) |
111 | #define UI_TITLE "iPod 4G" | 111 | #define UI_TITLE "iPod 4G" |
112 | #define UI_WIDTH 196 // width of GUI window | 112 | #define UI_WIDTH 196 /* width of GUI window */ |
113 | #define UI_HEIGHT 370 // height of GUI window | 113 | #define UI_HEIGHT 370 /* height of GUI window */ |
114 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 114 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
115 | #define UI_LCD_BGCOLORLIGHT 173, 216, 230 // bkgnd color of LCD (backlight) | 115 | #define UI_LCD_BGCOLORLIGHT 173, 216, 230 /* bkgnd color of LCD (backlight) */ |
116 | #define UI_LCD_BLACK 0, 0, 0 // black | 116 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
117 | #define UI_LCD_POSX 19 // x position of lcd | 117 | #define UI_LCD_POSX 19 /* x position of lcd */ |
118 | #define UI_LCD_POSY 14 // y position of lcd | 118 | #define UI_LCD_POSY 14 /* y position of lcd */ |
119 | #define UI_LCD_WIDTH 160 | 119 | #define UI_LCD_WIDTH 160 |
120 | #define UI_LCD_HEIGHT 128 | 120 | #define UI_LCD_HEIGHT 128 |
121 | 121 | ||
122 | #elif defined(IPOD_COLOR) | 122 | #elif defined(IPOD_COLOR) |
123 | #define UI_TITLE "iPod Color" | 123 | #define UI_TITLE "iPod Color" |
124 | #define UI_WIDTH 261 // width of GUI window | 124 | #define UI_WIDTH 261 /* width of GUI window */ |
125 | #define UI_HEIGHT 493 // height of GUI window | 125 | #define UI_HEIGHT 493 /* height of GUI window */ |
126 | /* high-colour */ | 126 | /* high-colour */ |
127 | #define UI_LCD_POSX 21 // x position of lcd | 127 | #define UI_LCD_POSX 21 /* x position of lcd */ |
128 | #define UI_LCD_POSY 16 // y position of lcd | 128 | #define UI_LCD_POSY 16 /* y position of lcd */ |
129 | #define UI_LCD_WIDTH 220 | 129 | #define UI_LCD_WIDTH 220 |
130 | #define UI_LCD_HEIGHT 176 | 130 | #define UI_LCD_HEIGHT 176 |
131 | 131 | ||
132 | #elif defined(IPOD_NANO) | 132 | #elif defined(IPOD_NANO) |
133 | #define UI_TITLE "iPod Nano" | 133 | #define UI_TITLE "iPod Nano" |
134 | #define UI_WIDTH 199 // width of GUI window | 134 | #define UI_WIDTH 199 /* width of GUI window */ |
135 | #define UI_HEIGHT 421 // height of GUI window | 135 | #define UI_HEIGHT 421 /* height of GUI window */ |
136 | /* high-colour */ | 136 | /* high-colour */ |
137 | #define UI_LCD_POSX 13 // x position of lcd | 137 | #define UI_LCD_POSX 13 /* x position of lcd */ |
138 | #define UI_LCD_POSY 14 // y position of lcd | 138 | #define UI_LCD_POSY 14 /* y position of lcd */ |
139 | #define UI_LCD_WIDTH 176 | 139 | #define UI_LCD_WIDTH 176 |
140 | #define UI_LCD_HEIGHT 132 | 140 | #define UI_LCD_HEIGHT 132 |
141 | 141 | ||
142 | #elif defined(IPOD_VIDEO) | 142 | #elif defined(IPOD_VIDEO) |
143 | #define UI_TITLE "iPod Video" | 143 | #define UI_TITLE "iPod Video" |
144 | #define UI_WIDTH 350 // width of GUI window | 144 | #define UI_WIDTH 350 /* width of GUI window */ |
145 | #define UI_HEIGHT 591 // height of GUI window | 145 | #define UI_HEIGHT 591 /* height of GUI window */ |
146 | /* high-colour */ | 146 | /* high-colour */ |
147 | #define UI_LCD_POSX 14 // x position of lcd | 147 | #define UI_LCD_POSX 14 /* x position of lcd */ |
148 | #define UI_LCD_POSY 12 // y position of lcd | 148 | #define UI_LCD_POSY 12 /* y position of lcd */ |
149 | #define UI_LCD_WIDTH 320 | 149 | #define UI_LCD_WIDTH 320 |
150 | #define UI_LCD_HEIGHT 240 | 150 | #define UI_LCD_HEIGHT 240 |
151 | 151 | ||
152 | #elif defined(ARCHOS_GMINI120) | 152 | #elif defined(ARCHOS_GMINI120) |
153 | #define UI_TITLE "Gmini 120" | 153 | #define UI_TITLE "Gmini 120" |
154 | #define UI_WIDTH 370 // width of GUI window | 154 | #define UI_WIDTH 370 /* width of GUI window */ |
155 | #define UI_HEIGHT 264 // height of GUI window | 155 | #define UI_HEIGHT 264 /* height of GUI window */ |
156 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 156 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
157 | #define UI_LCD_BGCOLORLIGHT 60, 160, 230 // bkgnd color of LCD (backlight) | 157 | #define UI_LCD_BGCOLORLIGHT 60, 160, 230 /* bkgnd color of LCD (backlight) */ |
158 | #define UI_LCD_BLACK 0, 0, 0 // black | 158 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
159 | #define UI_LCD_POSX 85 // x position of lcd | 159 | #define UI_LCD_POSX 85 /* x position of lcd */ |
160 | #define UI_LCD_POSY 61 // y position of lcd (74 for real aspect) | 160 | #define UI_LCD_POSY 61 /* y position of lcd (74 for real aspect) */ |
161 | #define UI_LCD_WIDTH 192 // * 1.5 | 161 | #define UI_LCD_WIDTH 192 /* * 1.5 */ |
162 | #define UI_LCD_HEIGHT 96 // * 1.5 | 162 | #define UI_LCD_HEIGHT 96 /* * 1.5 */ |
163 | 163 | ||
164 | #elif defined(IAUDIO_X5) | 164 | #elif defined(IAUDIO_X5) |
165 | #define UI_TITLE "iAudio X5" | 165 | #define UI_TITLE "iAudio X5" |
166 | #define UI_WIDTH 300 // width of GUI window | 166 | #define UI_WIDTH 300 /* width of GUI window */ |
167 | #define UI_HEIGHT 462 // height of GUI window | 167 | #define UI_HEIGHT 462 /* height of GUI window */ |
168 | #define UI_LCD_BGCOLOR 90, 145, 90 // bkgnd color of LCD (no backlight) | 168 | #define UI_LCD_BGCOLOR 90, 145, 90 /* bkgnd color of LCD (no backlight) */ |
169 | #define UI_LCD_BGCOLORLIGHT 230, 160, 60 // bkgnd color of LCD (backlight) | 169 | #define UI_LCD_BGCOLORLIGHT 230, 160, 60 /* bkgnd color of LCD (backlight) */ |
170 | #define UI_LCD_BLACK 0, 0, 0 // black | 170 | #define UI_LCD_BLACK 0, 0, 0 /* black */ |
171 | #define UI_LCD_POSX 55 // x position of lcd | 171 | #define UI_LCD_POSX 55 /* x position of lcd */ |
172 | #define UI_LCD_POSY 61 // y position of lcd (74 for real aspect) | 172 | #define UI_LCD_POSY 61 /* y position of lcd (74 for real aspect) */ |
173 | #define UI_LCD_WIDTH LCD_WIDTH // * 1.5 | 173 | #define UI_LCD_WIDTH LCD_WIDTH /* * 1.5 */ |
174 | #define UI_LCD_HEIGHT LCD_HEIGHT // * 1.5 | 174 | #define UI_LCD_HEIGHT LCD_HEIGHT /* * 1.5 */ |
175 | 175 | ||
176 | #define UI_REMOTE_POSX 12 // x position of remote lcd | 176 | #define UI_REMOTE_POSX 12 /* x position of remote lcd */ |
177 | #define UI_REMOTE_POSY 478 // y position of remote lcd | 177 | #define UI_REMOTE_POSY 478 /* y position of remote lcd */ |
178 | #define UI_REMOTE_WIDTH 128 | 178 | #define UI_REMOTE_WIDTH 128 |
179 | #define UI_REMOTE_HEIGHT 64 | 179 | #define UI_REMOTE_HEIGHT 64 |
180 | 180 | ||
181 | #define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 // bkgnd of remote lcd (bklight) | 181 | #define UI_REMOTE_BGCOLORLIGHT 250, 180, 130 /* bkgnd of remote lcd (bklight) */ |
182 | #define UI_REMOTE_BGCOLOR 90, 145, 90 // bkgnd of remote lcd (no bklight) | 182 | #define UI_REMOTE_BGCOLOR 90, 145, 90 /* bkgnd of remote lcd (no bklight) */ |
183 | 183 | ||
184 | #elif defined(GIGABEAT_F) | 184 | #elif defined(GIGABEAT_F) |
185 | #define UI_TITLE "Toshiba Gigabeat" | 185 | #define UI_TITLE "Toshiba Gigabeat" |
186 | #define UI_WIDTH 401 // width of GUI window | 186 | #define UI_WIDTH 401 /* width of GUI window */ |
187 | #define UI_HEIGHT 655 // height of GUI window | 187 | #define UI_HEIGHT 655 /* height of GUI window */ |
188 | /* high-colour */ | 188 | /* high-colour */ |
189 | #define UI_LCD_POSX 48 // x position of lcd | 189 | #define UI_LCD_POSX 48 /* x position of lcd */ |
190 | #define UI_LCD_POSY 60 // y position of lcd | 190 | #define UI_LCD_POSY 60 /* y position of lcd */ |
191 | #define UI_LCD_WIDTH 240 | 191 | #define UI_LCD_WIDTH 240 |
192 | #define UI_LCD_HEIGHT 320 | 192 | #define UI_LCD_HEIGHT 320 |
193 | #endif | 193 | #endif |
@@ -196,5 +196,5 @@ extern SDL_Surface *gui_surface; | |||
196 | extern bool background; /* True if the background image is enabled */ | 196 | extern bool background; /* True if the background image is enabled */ |
197 | extern int display_zoom; | 197 | extern int display_zoom; |
198 | 198 | ||
199 | #endif // #ifndef __UISDL_H__ | 199 | #endif /* #ifndef __UISDL_H__ */ |
200 | 200 | ||