InfoBoxes/Wind: use WindSettingsPanel
[xcsoar.git] / Data / XCSoar.rc
blobdd4cf9fe9a3c1e390c88d8a951147aa8a891ea5b
1 // Enables High Resolution Legacy Support on Windows Mobile devices (> WM 5.0)
2 // (see http://msdn.microsoft.com/en-us/library/ms889982.aspx)
3 HI_RES_AWARE CEUX {1}
5 #include "resource.h"
7 #if !defined(ANDROID) || defined(ANDROID_DRAWABLE)
8 #define BITMAP(name, path) name BITMAP DISCARDABLE path
9 #else
10 /* on Android, these are included as drawable resources (PNG) */
11 #define BITMAP(name, path)
12 #endif
14 #if defined(WIN32) || defined(__WINE__)
15 #define BITMAP_BITMAP(name, file) BITMAP(name, "bitmaps/" file ".bmp")
16 #define BITMAP_ICON(name, file) BITMAP(name, "../output/data/icons/" file ".bmp")
17 #define BITMAP_GRAPHIC(name, file) BITMAP(name, "../output/data/graphics/" file ".bmp")
18 #else
19 #define BITMAP_BITMAP(name, file) BITMAP(name, "../output/data/bitmaps/" file ".png")
20 #define BITMAP_ICON(name, file) BITMAP(name, "../output/data/icons2/" file ".png")
21 #define BITMAP_GRAPHIC(name, file) BITMAP(name, "../output/data/graphics2/" file ".png")
22 #endif
24 #ifdef WIN32
25 /* only GDI knows how to deal with hatched brushes, the rest uses
26    transparency */
27 #define HATCH_BITMAP(name, file) BITMAP_BITMAP(name, file)
28 #else
29 #define HATCH_BITMAP(name, file)
30 #endif
32 #define XMLDIALOG(name, path) name XMLDIALOG DISCARDABLE "../output/data/dialogs/" path ".xml.gz"
34 #if defined(WIN32) || defined(ANDROID)
35 #define MO(name) name.mo MO DISCARDABLE "../output/po/" #name ".mo"
36 #else
37 #define MO(name)
38 #endif
40 #define SOUND(name, file) name WAVE DISCARDABLE "sound/" file ".wav"
42 #define TEXT(name, file) name TEXT DISCARDABLE "../output/data/" file ".gz"
44 // --- Icons ---
46 IDI_XCSOAR              ICON    DISCARDABLE     "bitmaps/xcsoarswift.ico"
48 // --- Bitmaps ---
50 BITMAP_ICON(IDB_ABORT, "mode_abort")
51 BITMAP_ICON(IDB_ABORT_HD, "mode_abort_160")
53 HATCH_BITMAP(IDB_ABOVETERRAIN, "aboveterrain")
55 BITMAP_ICON(IDB_AIRPORT_REACHABLE, "alt_reachable_airport")
56 BITMAP_ICON(IDB_AIRPORT_REACHABLE_HD, "alt_reachable_airport_160")
57 BITMAP_ICON(IDB_AIRPORT_MARGINAL, "alt_marginal_airport")
58 BITMAP_ICON(IDB_AIRPORT_MARGINAL_HD, "alt_marginal_airport_160")
59 BITMAP_ICON(IDB_AIRPORT_UNREACHABLE, "alt_landable_airport")
60 BITMAP_ICON(IDB_AIRPORT_UNREACHABLE_HD, "alt_landable_airport_160")
61 BITMAP_ICON(IDB_AIRPORT_MARGINAL2, "alt2_marginal_airport")
62 BITMAP_ICON(IDB_AIRPORT_MARGINAL2_HD, "alt2_marginal_airport_160")
63 BITMAP_ICON(IDB_AIRPORT_UNREACHABLE2, "alt2_landable_airport")
64 BITMAP_ICON(IDB_AIRPORT_UNREACHABLE2_HD, "alt2_landable_airport_160")
66 HATCH_BITMAP(IDB_AIRSPACE0, "airspace0")
67 HATCH_BITMAP(IDB_AIRSPACE1, "airspace1")
68 HATCH_BITMAP(IDB_AIRSPACE2, "airspace2")
69 HATCH_BITMAP(IDB_AIRSPACE3, "airspace3")
70 HATCH_BITMAP(IDB_AIRSPACE4, "airspace4")
71 HATCH_BITMAP(IDB_AIRSPACE5, "airspace5")
72 HATCH_BITMAP(IDB_AIRSPACE6, "airspace6")
73 HATCH_BITMAP(IDB_AIRSPACE7, "airspace7")
75 BITMAP_ICON(IDB_AIRSPACEI, "airspace_intercept")
76 BITMAP_ICON(IDB_AIRSPACEI_HD, "airspace_intercept_160")
77 BITMAP_ICON(IDB_CRUISE, "mode_cruise")
78 BITMAP_ICON(IDB_CRUISE_HD, "mode_cruise_160")
79 BITMAP_ICON(IDB_CLIMB, "mode_climb")
80 BITMAP_ICON(IDB_CLIMB_HD, "mode_climb_160")
81 BITMAP_BITMAP(IDB_CLIMBSMALL, "climb_12")
82 BITMAP_BITMAP(IDB_CLIMBSMALLINV, "climb_12inv")
83 BITMAP_ICON(IDB_FOLDER, "folder")
84 BITMAP_ICON(IDB_FOLDER_HD, "folder_160")
85 BITMAP_ICON(IDB_SETTINGS, "settings")
86 BITMAP_ICON(IDB_SETTINGS_HD, "settings_160")
87 BITMAP_ICON(IDB_TASK, "task")
88 BITMAP_ICON(IDB_TASK_HD, "task_160")
89 BITMAP_ICON(IDB_CALCULATOR, "calculator")
90 BITMAP_ICON(IDB_CALCULATOR_HD, "calculator_160")
91 BITMAP_ICON(IDB_WRENCH, "wrench")
92 BITMAP_ICON(IDB_WRENCH_HD, "wrench_160")
93 BITMAP_ICON(IDB_GLOBE, "globe")
94 BITMAP_ICON(IDB_GLOBE_HD, "globe_160")
95 BITMAP_ICON(IDB_DEVICE, "device")
96 BITMAP_ICON(IDB_DEVICE_HD, "device_160")
97 BITMAP_ICON(IDB_RULES, "rules")
98 BITMAP_ICON(IDB_RULES_HD, "rules_160")
99 BITMAP_ICON(IDB_CLOCK, "clock")
100 BITMAP_ICON(IDB_CLOCK_HD, "clock_160")
102 #ifdef EYE_CANDY
103 #ifdef TESTING
104 BITMAP_GRAPHIC(IDB_DIALOGTITLE, "dialog_title_red")
105 #else
106 BITMAP_GRAPHIC(IDB_DIALOGTITLE, "dialog_title")
107 #endif
108 #endif
109 BITMAP_ICON(IDB_FINALGLIDE, "mode_finalglide")
110 BITMAP_ICON(IDB_FINALGLIDE_HD, "mode_finalglide_160")
111 BITMAP_ICON(IDB_TRAFFIC_SAFE, "flarm_traffic")
112 BITMAP_ICON(IDB_TRAFFIC_SAFE_HD, "flarm_traffic_160")
113 BITMAP_ICON(IDB_TRAFFIC_WARNING, "flarm_warning")
114 BITMAP_ICON(IDB_TRAFFIC_WARNING_HD, "flarm_warning_160")
115 BITMAP_ICON(IDB_TRAFFIC_ALARM, "flarm_alarm")
116 BITMAP_ICON(IDB_TRAFFIC_ALARM_HD, "flarm_alarm_160")
117 BITMAP_ICON(IDB_GPSSTATUS1, "gps_acquiring")
118 BITMAP_ICON(IDB_GPSSTATUS1_HD, "gps_acquiring_160")
119 BITMAP_ICON(IDB_GPSSTATUS2, "gps_disconnected")
120 BITMAP_ICON(IDB_GPSSTATUS2_HD, "gps_disconnected_160")
121 BITMAP_ICON(IDB_LANDABLE, "winpilot_landable")
122 BITMAP_ICON(IDB_LANDABLE_HD, "winpilot_landable_160")
123 #ifdef TESTING
124 BITMAP_GRAPHIC(IDB_LAUNCHER1, "launcher_red_224_1")
125 BITMAP_GRAPHIC(IDB_LAUNCHER2, "launcher_red_224_2")
126 #else
127 BITMAP_GRAPHIC(IDB_LAUNCHER1, "launcher_224_1")
128 BITMAP_GRAPHIC(IDB_LAUNCHER2, "launcher_224_2")
129 #endif
130 BITMAP_ICON(IDB_LOGGER, "icon_logging")
131 BITMAP_ICON(IDB_LOGGER_HD, "icon_logging_160")
132 BITMAP_ICON(IDB_LOGGEROFF, "icon_logging_off")
133 BITMAP_ICON(IDB_LOGGEROFF_HD, "icon_logging_off_160")
134 BITMAP_ICON(IDB_MAPSCALE_LEFT, "scalearrow_left")
135 BITMAP_ICON(IDB_MAPSCALE_RIGHT, "scalearrow_right")
136 BITMAP_ICON(IDB_MAPSCALE_LEFT_HD, "scalearrow_left_160")
137 BITMAP_ICON(IDB_MAPSCALE_RIGHT_HD, "scalearrow_right_160")
138 BITMAP_ICON(IDB_MARK, "map_flag")
139 BITMAP_ICON(IDB_MARK_HD, "map_flag_160")
140 BITMAP_ICON(IDB_OBSTACLE, "map_obstacle")
141 BITMAP_ICON(IDB_OBSTACLE_HD, "map_obstacle_160")
142 BITMAP_ICON(IDB_OUTFIELD_REACHABLE, "alt_reachable_field")
143 BITMAP_ICON(IDB_OUTFIELD_REACHABLE_HD, "alt_reachable_field_160")
144 BITMAP_ICON(IDB_OUTFIELD_MARGINAL, "alt_marginal_field")
145 BITMAP_ICON(IDB_OUTFIELD_MARGINAL_HD, "alt_marginal_field_160")
146 BITMAP_ICON(IDB_OUTFIELD_UNREACHABLE, "alt_landable_field")
147 BITMAP_ICON(IDB_OUTFIELD_UNREACHABLE_HD, "alt_landable_field_160")
148 BITMAP_ICON(IDB_OUTFIELD_MARGINAL2, "alt2_marginal_field")
149 BITMAP_ICON(IDB_OUTFIELD_MARGINAL2_HD, "alt2_marginal_field_160")
150 BITMAP_ICON(IDB_OUTFIELD_UNREACHABLE2, "alt2_landable_field")
151 BITMAP_ICON(IDB_OUTFIELD_UNREACHABLE2_HD, "alt2_landable_field_160")
152 BITMAP_ICON(IDB_MOUNTAIN_PASS, "map_pass")
153 BITMAP_ICON(IDB_MOUNTAIN_PASS_HD, "map_pass_160")
154 #ifdef TESTING
155 BITMAP_GRAPHIC(IDB_PROGRESSBORDER, "progress_border_red")
156 #else
157 BITMAP_GRAPHIC(IDB_PROGRESSBORDER, "progress_border")
158 #endif
159 BITMAP_ICON(IDB_REACHABLE, "winpilot_reachable")
160 BITMAP_ICON(IDB_REACHABLE_HD, "winpilot_reachable_160")
161 BITMAP_ICON(IDB_MARGINAL, "winpilot_marginal")
162 BITMAP_ICON(IDB_MARGINAL_HD, "winpilot_marginal_160")
163 BITMAP_ICON(IDB_SMALL, "map_small")
164 BITMAP_ICON(IDB_SMALL_HD, "map_small_160")
165 #ifdef TESTING
166 BITMAP_GRAPHIC(IDB_LOGO_HD, "logo_red_160")
167 BITMAP_GRAPHIC(IDB_LOGO, "logo_red_80")
168 #else
169 #ifdef NO_HORIZON
170 BITMAP_GRAPHIC(IDB_LOGO_HD, "logo_no_horizon_160")
171 BITMAP_GRAPHIC(IDB_LOGO, "logo_no_horizon_80")
172 #else
173 BITMAP_GRAPHIC(IDB_LOGO_HD, "logo_160")
174 BITMAP_GRAPHIC(IDB_LOGO, "logo_80")
175 #endif
176 #endif
177 BITMAP_ICON(IDB_TARGET, "map_target")
178 BITMAP_ICON(IDB_TARGET_HD, "map_target_160")
179 BITMAP_ICON(IDB_TEAMMATE_POS, "map_teammate")
180 BITMAP_ICON(IDB_TEAMMATE_POS_HD, "map_teammate_160")
181 BITMAP_ICON(IDB_TERRAINWARNING, "map_terrainw")
182 BITMAP_ICON(IDB_TERRAINWARNING_HD, "map_terrainw_160")
183 BITMAP_ICON(IDB_THERMALSOURCE, "map_thermal_source")
184 BITMAP_ICON(IDB_THERMALSOURCE_HD, "map_thermal_source_160")
185 BITMAP_ICON(IDB_TOWN, "map_town")
186 BITMAP_ICON(IDB_TOWN_HD, "map_town_160")
187 BITMAP_ICON(IDB_TURNPOINT, "map_turnpoint")
188 BITMAP_ICON(IDB_TURNPOINT_HD, "map_turnpoint_160")
189 BITMAP_ICON(IDB_TASKTURNPOINT, "map_taskturnpoint")
190 BITMAP_ICON(IDB_TASKTURNPOINT_HD, "map_taskturnpoint_160")
191 BITMAP_ICON(IDB_MOUNTAIN_TOP, "map_mountain_top")
192 BITMAP_ICON(IDB_MOUNTAIN_TOP_HD, "map_mountain_top_160")
193 BITMAP_ICON(IDB_BRIDGE, "map_bridge")
194 BITMAP_ICON(IDB_BRIDGE_HD, "map_bridge_160")
195 BITMAP_ICON(IDB_TUNNEL, "map_tunnel")
196 BITMAP_ICON(IDB_TUNNEL_HD, "map_tunnel_160")
197 BITMAP_ICON(IDB_TOWER, "map_tower")
198 BITMAP_ICON(IDB_TOWER_HD, "map_tower_160")
199 BITMAP_ICON(IDB_POWER_PLANT, "map_power_plant")
200 BITMAP_ICON(IDB_POWER_PLANT_HD, "map_power_plant_160")
201 BITMAP_ICON(IDB_THERMAL_HOTSPOT, "map_thermal_hotspot")
202 BITMAP_ICON(IDB_THERMAL_HOTSPOT_HD, "map_thermal_hotspot_160")
203 BITMAP_BITMAP(IDB_UNIT_KM, "unit_km")
204 BITMAP_BITMAP(IDB_UNIT_SM, "unit_sm")
205 BITMAP_BITMAP(IDB_UNIT_NM, "unit_nm")
206 BITMAP_BITMAP(IDB_UNIT_M, "unit_m")
207 BITMAP_BITMAP(IDB_UNIT_FT, "unit_ft")
208 BITMAP_BITMAP(IDB_UNIT_MS, "unit_ms")
209 BITMAP_BITMAP(IDB_UNIT_KT, "unit_kt")
210 BITMAP_BITMAP(IDB_UNIT_FL, "unit_fl")
211 BITMAP_BITMAP(IDB_UNIT_DegK, "unit_deg_kelvin")
212 BITMAP_BITMAP(IDB_UNIT_DegC, "unit_deg_celsius")
213 BITMAP_BITMAP(IDB_UNIT_DegF, "unit_deg_fahrenheit")
214 BITMAP_BITMAP(IDB_UNIT_FPM, "unit_fpm")
215 BITMAP_BITMAP(IDB_UNIT_KMH, "unit_kmh")
216 BITMAP_BITMAP(IDB_UNIT_MPH, "unit_mph")
217 BITMAP_BITMAP(IDB_VARIOSCALEA, "vario_scale_b")
218 BITMAP_BITMAP(IDB_VARIOSCALEC, "vario_scale_c")
219 #ifdef TESTING
220 BITMAP_GRAPHIC(IDB_TITLE, "title_red_110")
221 BITMAP_GRAPHIC(IDB_TITLE_HD, "title_red_320")
222 #else
223 BITMAP_GRAPHIC(IDB_TITLE, "title_110")
224 BITMAP_GRAPHIC(IDB_TITLE_HD, "title_320")
225 #endif
226 BITMAP_ICON(IDB_WEATHER_STATION, "map_weather_station")
227 BITMAP_ICON(IDB_WEATHER_STATION_HD, "map_weather_station_160")
228 // --- Audio ---
230 SOUND(IDR_FAIL, "fail")
231 SOUND(IDR_INSERT, "insert")
232 SOUND(IDR_REMOVE, "remove")
234 #ifndef GNAV
235 SOUND(IDR_WAV_BEEPBWEEP, "beep_bweep")
236 SOUND(IDR_WAV_CLEAR, "beep_clear")
237 SOUND(IDR_WAV_DRIP, "beep_drip")
238 #endif
240 // --- XML Dialogs ---
241 XMLDIALOG(IDR_XML_AIRSPACESELECT, "AirspaceList")
242 XMLDIALOG(IDR_XML_AIRSPACESELECT_L, "AirspaceList_L")
243 XMLDIALOG(IDR_XML_AIRSPACEWARNINGS, "dlgAirspaceWarnings")
244 XMLDIALOG(IDR_XML_ANALYSIS, "dlgAnalysis")
245 XMLDIALOG(IDR_XML_ANALYSIS_L, "dlgAnalysis_L")
246 XMLDIALOG(IDR_XML_BRIGHTNESS, "dlgBrightness")
247 XMLDIALOG(IDR_XML_CHECKLIST, "dlgChecklist")
248 XMLDIALOG(IDR_XML_CHECKLIST_L, "dlgChecklist_L")
249 XMLDIALOG(IDR_XML_CONFIGURATION, "dlgConfiguration")
250 XMLDIALOG(IDR_XML_CONFIGURATION_L, "dlgConfiguration_L")
251 XMLDIALOG(IDR_XML_CONFIG_WAYPOINTS, "dlgConfigWaypoints")
252 XMLDIALOG(IDR_XML_CONFIG_WAYPOINTS_L, "dlgConfigWaypoints_L")
253 XMLDIALOG(IDR_XML_CREDITS, "dlgCredits")
254 XMLDIALOG(IDR_XML_CREDITS_L, "dlgCredits_L")
255 XMLDIALOG(IDR_XML_FLARMTRAFFICDETAILS, "dlgFlarmTrafficDetails")
256 XMLDIALOG(IDR_XML_FLARMTRAFFICDETAILS_L, "dlgFlarmTrafficDetails_L")
257 XMLDIALOG(IDR_XML_NOAA_DETAILS_L, "dlgNOAADetails_L")
258 XMLDIALOG(IDR_XML_NOAA_DETAILS, "dlgNOAADetails")
259 XMLDIALOG(IDR_XML_PLANE_DETAILS, "dlgPlaneDetails")
260 XMLDIALOG(IDR_XML_PLANE_DETAILS_L, "dlgPlaneDetails_L")
261 XMLDIALOG(IDR_XML_PLANE_POLAR, "dlgPlanePolar")
262 XMLDIALOG(IDR_XML_PLANE_POLAR_L, "dlgPlanePolar_L")
263 XMLDIALOG(IDR_XML_SIMULATORPROMPT_L, "dlgSimulatorPrompt_L")
264 XMLDIALOG(IDR_XML_SIMULATORPROMPT, "dlgSimulatorPrompt")
265 XMLDIALOG(IDR_XML_STARTUP, "dlgStartup")
266 XMLDIALOG(IDR_XML_STARTUP_L, "dlgStartup_L")
267 XMLDIALOG(IDR_XML_TARGET, "dlgTarget")
268 XMLDIALOG(IDR_XML_TARGET_L, "dlgTarget_L")
269 XMLDIALOG(IDR_XML_TEAMCODE, "dlgTeamCode")
270 XMLDIALOG(IDR_XML_TEAMCODE_L, "dlgTeamCode_L")
271 XMLDIALOG(IDR_XML_TEXTENTRY, "dlgTextEntry")
272 XMLDIALOG(IDR_XML_VARIO, "dlgVario")
273 XMLDIALOG(IDR_XML_VARIO_L, "dlgVario_L")
274 XMLDIALOG(IDR_XML_VEGADEMO, "dlgVegaDemo")
275 XMLDIALOG(IDR_XML_VOICE, "dlgVoice")
276 XMLDIALOG(IDR_XML_WAYPOINTDETAILS, "dlgWaypointDetails")
277 XMLDIALOG(IDR_XML_WAYPOINTDETAILS_L, "dlgWaypointDetails_L")
278 XMLDIALOG(IDR_XML_WAYPOINTEDIT, "dlgWaypointEdit")
279 XMLDIALOG(IDR_XML_WAYPOINTEDIT_L, "dlgWaypointEdit_L")
280 XMLDIALOG(IDR_XML_WAYPOINTSELECT, "WaypointList")
281 XMLDIALOG(IDR_XML_WAYPOINTSELECT_L, "WaypointList_L")
282 XMLDIALOG(IDR_XML_WEATHER, "dlgWeather")
284 // configuration menu
285 XMLDIALOG(IDR_XML_POLARCONFIGPANEL, "Configuration/PolarConfigPanel")
286 XMLDIALOG(IDR_XML_POLARCONFIGPANEL_L, "Configuration/PolarConfigPanel_L")
288 // new task editor
289 XMLDIALOG(IDR_XML_TASKACTIONS, "pnlTaskActions")
290 XMLDIALOG(IDR_XML_TASKMANAGER, "dlgTaskManager")
291 XMLDIALOG(IDR_XML_TASKMANAGER_L, "dlgTaskManager_L")
292 XMLDIALOG(IDR_XML_TASKMANAGERCLOSE, "pnlTaskManagerClose")
293 XMLDIALOG(IDR_XML_TASKPOINT, "dlgTaskPoint")
294 XMLDIALOG(IDR_XML_TASKPOINT_L, "dlgTaskPoint_L")
296 // translations
297 MO(cs)
298 MO(da)
299 MO(de)
300 MO(el)
301 MO(es)
302 MO(fi)
303 MO(fr)
304 MO(he)
305 MO(hr)
306 MO(hu)
307 MO(it)
308 MO(ja)
309 MO(ko)
310 MO(nb)
311 MO(nl)
312 MO(pl)
313 MO(pt)
314 MO(pt_BR)
315 MO(ro)
316 MO(ru)
317 MO(sk)
318 MO(sr)
319 MO(sv)
320 MO(tr)
321 MO(uk)
322 MO(vi)
324 TEXT(LICENSE, "COPYING")
325 TEXT(AUTHORS, "AUTHORS")
327 // --- EGM96 Raster Data --- 
329 IDR_RASTER_EGM96S       RASTERDATA DISCARDABLE  "other/egm96s.dem"