35 |
{ NULL, WPT_SYM_MAX+1 }, /* ICON_WPT */ |
{ NULL, WPT_SYM_MAX+1 }, /* ICON_WPT */ |
36 |
{ NULL, 2 }, /* ICON_TB */ |
{ NULL, 2 }, /* ICON_TB */ |
37 |
{ NULL, 6 }, /* ICON_MISC */ |
{ NULL, 6 }, /* ICON_MISC */ |
38 |
{ NULL, WPT_SYM_MAX+CACHE_TYPE_MAX+6 }, /* ICON_POS */ |
{ NULL, WPT_SYM_MAX+CACHE_TYPE_MAX+10 },/* ICON_POS */ |
39 |
{ NULL, 3 }, /* ICON_FILE */ |
{ NULL, 3 }, /* ICON_FILE */ |
40 |
{ NULL, -1 } |
{ NULL, -1 } |
41 |
}; |
}; |
91 |
|
|
92 |
/* ICON_MISC */ |
/* ICON_MISC */ |
93 |
const char *misc_icon_name[] = { |
const char *misc_icon_name[] = { |
94 |
"maemo-mapper-out", "locked", "unlocked", |
"locked", "unlocked", "delete", |
95 |
"maemo-mapper-in", "delete", "paypal", |
#ifdef FREMANTLE |
96 |
|
"64x64/paypal", |
97 |
|
#else |
98 |
|
"32x32/paypal", |
99 |
|
#endif |
100 |
|
"32x32/pos_geomath", |
101 |
|
#ifdef FREMANTLE |
102 |
|
"64x64/gpxview", |
103 |
|
#else |
104 |
|
"32x32/gpxview", |
105 |
|
#endif |
106 |
NULL |
NULL |
107 |
}; |
}; |
108 |
|
|
116 |
"cache_type_letterbox", "cache_type_earthcache", "cache_type_wherigo", |
"cache_type_letterbox", "cache_type_earthcache", "cache_type_wherigo", |
117 |
"cache_type_megaevent", "cache_type_cito", |
"cache_type_megaevent", "cache_type_cito", |
118 |
|
|
119 |
"pos_btn", "pos_gps", "pos_geomath", "pos_map", |
"pos_wpt", "pos_gps", "pos_geomath", "pos_map", "pos_home", |
120 |
|
|
121 |
|
"pos_get", "pos_set", "maemo-mapper", |
122 |
|
|
123 |
NULL |
NULL |
124 |
}; |
}; |
125 |
|
|
217 |
icons_load(ICON_MISC, "%s.%s", misc_icon_name); |
icons_load(ICON_MISC, "%s.%s", misc_icon_name); |
218 |
|
|
219 |
/* load pos icons */ |
/* load pos icons */ |
220 |
#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) |
#if !defined(USE_MAEMO) |
221 |
icons_load(ICON_POS, "16x16/%s.%s", pos_icon_name); |
icons_load(ICON_POS, "16x16/%s.%s", pos_icon_name); |
222 |
#else |
#else |
223 |
|
#if (MAEMO_VERSION_MAJOR < 5) |
224 |
|
icons_load(ICON_POS, "24x24/%s.%s", pos_icon_name); |
225 |
|
#else |
226 |
icons_load(ICON_POS, "32x32/%s.%s", pos_icon_name); |
icons_load(ICON_POS, "32x32/%s.%s", pos_icon_name); |
227 |
#endif |
#endif |
228 |
|
#endif |
229 |
|
|
230 |
/* load file icons */ |
/* load file icons */ |
231 |
icons_load(ICON_FILE, "file_%s.%s", file_icon_name); |
icons_load(ICON_FILE, "file_%s.%s", file_icon_name); |