Diff of /trunk/src/icons.c

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

revision 293 by harbaum, Tue Aug 17 19:00:06 2010 UTC revision 294 by harbaum, Wed Aug 18 18:24:19 2010 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.   * Copyright (C) 2008-2010 Till Harbaum <till@harbaum.org>.
3   *   *
4   * This file is part of GPXView.   * This file is part of GPXView.
5   *   *
# Line 37  struct icon_data { Line 37  struct icon_data {
37    { NULL, 8 },                            /* ICON_MISC            */    { NULL, 8 },                            /* ICON_MISC            */
38    { NULL, WPT_SYM_MAX+CACHE_TYPE_MAX+11 },/* ICON_POS             */    { NULL, WPT_SYM_MAX+CACHE_TYPE_MAX+11 },/* ICON_POS             */
39    { NULL, 3 },                            /* ICON_FILE            */    { NULL, 3 },                            /* ICON_FILE            */
40    { NULL, 46 },                           /* ICON_ATT             */    { NULL, ATT_MAX+2 },                    /* ICON_ATT             */
41    { NULL, -1 }    { NULL, -1 }
42  };  };
43    
# Line 53  static const char *att_icon_name[] = { Line 53  static const char *att_icon_name[] = {
53    "picnic", "camping", "bicycles", "motorcycles", "quads", // 30-34    "picnic", "camping", "bicycles", "motorcycles", "quads", // 30-34
54    "jeeps", "snowmobiles", "horses", "campfires", "thorn",  // 35-39    "jeeps", "snowmobiles", "horses", "campfires", "thorn",  // 35-39
55    "stealth", "stroller", "firstaid", "cow", "flashlight",  // 40-44    "stealth", "stroller", "firstaid", "cow", "flashlight",  // 40-44
56      "landf", "unknown", "field_puzzle", "UV", "snowshoes",   // 45-49
57      "skiis", "s_tool", "nightcache", "parkngrab", "abandonedbuilding", // 50-54
58      "hike_short", "hike_med", "hike_long", "fuel", "food",   // 55-59
59    NULL    NULL
60  };  };
61    
# Line 108  const char *tb_icon_name[] = { Line 110  const char *tb_icon_name[] = {
110    
111  /* ICON_MISC         */  /* ICON_MISC         */
112  const char *misc_icon_name[] = {  const char *misc_icon_name[] = {
113    "locked", "unlocked", "delete",    "32x32/locked", "32x32/unlocked", "32x32/delete",
114  #ifdef FREMANTLE  #ifdef FREMANTLE
115    "64x64/paypal",    "64x64/paypal",
116  #else  #else
# Line 254  void icons_init(void) { Line 256  void icons_init(void) {
256  #endif  #endif
257    
258    /* load file icons */    /* load file icons */
259    icons_load(ICON_FILE, "file_%s.%s", file_icon_name);    icons_load(ICON_FILE, "32x32/file_%s.%s", file_icon_name);
260    
261    /* load attribute icons */    /* load attribute icons */
262    icons_load(ICON_ATT, "32x32/att_%s.%s", att_icon_name);    icons_load(ICON_ATT, "32x32/att_%s.%s", att_icon_name);

Legend:
Removed from v.293  
changed lines
  Added in v.294