Diff of /trunk/src/icons.c

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

revision 185 by harbaum, Sat Nov 14 16:55:33 2009 UTC revision 187 by harbaum, Mon Nov 16 13:39:00 2009 UTC
# Line 167  void icons_init(void) { Line 167  void icons_init(void) {
167    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);
168    
169    /* load cache container/size icons */    /* load cache container/size icons */
170    #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
171    icons_load(ICON_CACHE_SIZE, "45x12/cache_size_%s.%s", cache_size_icon_name);    icons_load(ICON_CACHE_SIZE, "45x12/cache_size_%s.%s", cache_size_icon_name);
172    #else
173      icons_load(ICON_CACHE_SIZE, "90x24/cache_size_%s.%s", cache_size_icon_name);
174    #endif
175    
176    /* load cache difficulty/terrain/quality icons */    /* load cache difficulty/terrain/quality icons */
177    icons_load(ICON_STARS, "stars%s.%s", stars_icon_name);  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
178      icons_load(ICON_STARS, "12x12/stars%s.%s", stars_icon_name);
179    #else
180      icons_load(ICON_STARS, "16x16/stars%s.%s", stars_icon_name);
181    #endif
182    
183    /* load cache log icons */    /* load cache log icons */
184    icons_load(ICON_LOG, "32x32/log_icon_%s.%s", log_icon_name);    icons_load(ICON_LOG, "32x32/log_icon_%s.%s", log_icon_name);
185    
186    /* load icons to visualize heading */    /* load icons to visualize heading */
187    icons_load(ICON_HEADING, "heading_%s.%s", heading_icon_name);  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
188      icons_load(ICON_HEADING, "32x32/heading_%s.%s", heading_icon_name);
189    #else
190      icons_load(ICON_HEADING, "48x48/heading_%s.%s", heading_icon_name);
191    #endif
192    
193    /* load icons to visualize heading */    /* load waypoint icons */
194    icons_load(ICON_WPT, "32x32/wpt_%s.%s", wpt_sym_icon_name);    icons_load(ICON_WPT, "32x32/wpt_%s.%s", wpt_sym_icon_name);
195    
196    /* load travelbug icon */    /* load travelbug/coin icons */
197    icons_load(ICON_TB, "32x32/%s.%s", tb_icon_name);    icons_load(ICON_TB, "32x32/%s.%s", tb_icon_name);
198    
199    /* load misc icons */    /* load misc icons */

Legend:
Removed from v.185  
changed lines
  Added in v.187