Diff of /trunk/src/icons.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 180 by harbaum, Fri Nov 13 12:11:00 2009 UTC revision 188 by harbaum, Mon Nov 16 20:30:54 2009 UTC
# Line 42  struct icon_data { Line 42  struct icon_data {
42  /* ICON_CACHE_TYPE / ICON_CACHE_TYPE_SEMI / ICON_CACHE_TYPE_2X */  /* ICON_CACHE_TYPE / ICON_CACHE_TYPE_SEMI / ICON_CACHE_TYPE_2X */
43  const char *cache_type_icon_name[] = {  const char *cache_type_icon_name[] = {
44    "traditional", "multi",      "mystery", "virtual", "webcam", "event",    "traditional", "multi",      "mystery", "virtual", "webcam", "event",
45    "letterbox",   "earthcache", "wherigo", "megaevent", "cito"    "letterbox",   "earthcache", "wherigo", "megaevent", "cito",
46    
47      /* special overlays */
48      "override", "found", "note"
49  };  };
50    
51  /* ICON_CACHE_SIZE */  /* ICON_CACHE_SIZE */
# Line 82  const char *tb_icon_name[] = { Line 85  const char *tb_icon_name[] = {
85    "tb", "coin"    "tb", "coin"
86  };  };
87    
88    /* locked/unlocked -1 */
89    /* mapper-in -2 */
90    /* delete/paypal -3 */
91    
92  /* ICON_MISC         */  /* ICON_MISC         */
93  const char *misc_icon_name[] = {  const char *misc_icon_name[] = {
94    "maemo-mapper-out", "override", "locked", "unlocked", "found",    "maemo-mapper-out", "override", "locked", "unlocked", "found",
# Line 167  void icons_init(void) { Line 174  void icons_init(void) {
174    icons_load(ICON_CACHE_TYPE_2X, "64x64/cache_type_%s.%s", cache_type_icon_name);    icons_load(ICON_CACHE_TYPE_2X, "64x64/cache_type_%s.%s", cache_type_icon_name);
175    
176    /* load cache container/size icons */    /* load cache container/size icons */
177    icons_load(ICON_CACHE_SIZE, "cache_size_%s.%s", cache_size_icon_name);  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
178      icons_load(ICON_CACHE_SIZE, "45x12/cache_size_%s.%s", cache_size_icon_name);
179    #else
180      icons_load(ICON_CACHE_SIZE, "90x24/cache_size_%s.%s", cache_size_icon_name);
181    #endif
182    
183    /* load cache difficulty/terrain/quality icons */    /* load cache difficulty/terrain/quality icons */
184    icons_load(ICON_STARS, "stars%s.%s", stars_icon_name);  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
185      icons_load(ICON_STARS, "12x12/stars%s.%s", stars_icon_name);
186    #else
187      icons_load(ICON_STARS, "16x16/stars%s.%s", stars_icon_name);
188    #endif
189    
190    /* load cache log icons */    /* load cache log icons */
191    icons_load(ICON_LOG, "32x32/log_icon_%s.%s", log_icon_name);    icons_load(ICON_LOG, "32x32/log_icon_%s.%s", log_icon_name);
192    
193    /* load icons to visualize heading */    /* load icons to visualize heading */
194    icons_load(ICON_HEADING, "heading_%s.%s", heading_icon_name);  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
195      icons_load(ICON_HEADING, "32x32/heading_%s.%s", heading_icon_name);
196    #else
197      icons_load(ICON_HEADING, "48x48/heading_%s.%s", heading_icon_name);
198    #endif
199    
200    /* load icons to visualize heading */    /* load waypoint icons */
201    icons_load(ICON_WPT, "wpt_%s.%s", wpt_sym_icon_name);    icons_load(ICON_WPT, "32x32/wpt_%s.%s", wpt_sym_icon_name);
202    
203    /* load travelbug icon */    /* load travelbug/coin icons */
204    icons_load(ICON_TB, "32x32/%s.%s", tb_icon_name);    icons_load(ICON_TB, "32x32/%s.%s", tb_icon_name);
205    
206    /* load misc icons */    /* load misc icons */

Legend:
Removed from v.180  
changed lines
  Added in v.188