Diff of /trunk/src/icons.c

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

revision 174 by harbaum, Tue Nov 10 20:27:30 2009 UTC revision 176 by harbaum, Wed Nov 11 20:21:55 2009 UTC
# Line 26  struct icon_data { Line 26  struct icon_data {
26  } icons[] = {  } icons[] = {
27    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE      */    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE      */
28    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE_SEMI */    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE_SEMI */
29      { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE_1_5X */
30    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE_2X   */    { NULL, CACHE_TYPE_MAX+1 },  /* ICON_CACHE_TYPE_2X   */
31    { NULL, CACHE_CONT_MAX+1 },  /* ICON_CACHE_SIZE      */    { NULL, CACHE_CONT_MAX+1 },  /* ICON_CACHE_SIZE      */
32    { NULL, 9 },                 /* ICON_STARS           */    { NULL, 9 },                 /* ICON_STARS           */
# Line 78  const char *wpt_sym_icon_name[] = { Line 79  const char *wpt_sym_icon_name[] = {
79    
80  /* ICON_TB         */  /* ICON_TB         */
81  const char *tb_icon_name[] = {  const char *tb_icon_name[] = {
82    "tb_coin"    "tb"
83  };  };
84    
85  /* ICON_MISC         */  /* ICON_MISC         */
# Line 159  void icons_init(void) { Line 160  void icons_init(void) {
160    /* load semitransparent cache type icons */    /* load semitransparent cache type icons */
161    icons_load(ICON_CACHE_TYPE_SEMI, "cache_type_%s_semi.%s", cache_type_icon_name);    icons_load(ICON_CACHE_TYPE_SEMI, "cache_type_%s_semi.%s", cache_type_icon_name);
162    
163      /* load 150% sized cache type icons */
164      icons_load(ICON_CACHE_TYPE_1_5X, "cache_type_%s_1.5x.%s", cache_type_icon_name);
165    
166    /* load double sized cache type icons */    /* load double sized cache type icons */
167    icons_load(ICON_CACHE_TYPE_2X, "cache_type_%s_2x.%s", cache_type_icon_name);    icons_load(ICON_CACHE_TYPE_2X, "cache_type_%s_2x.%s", cache_type_icon_name);
168    

Legend:
Removed from v.174  
changed lines
  Added in v.176