Diff of /trunk/src/map.c

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

revision 108 by harbaum, Wed Mar 4 13:10:16 2009 UTC revision 151 by harbaum, Sat Mar 28 12:42:18 2009 UTC
# Line 172  static void map_node_select(appdata_t *a Line 172  static void map_node_select(appdata_t *a
172      new_map_item = g_new0(map_item_t, 1);      new_map_item = g_new0(map_item_t, 1);
173      memcpy(new_map_item, map_item, sizeof(map_item_t));      memcpy(new_map_item, map_item, sizeof(map_item_t));
174      new_map_item->highlight = TRUE;      new_map_item->highlight = TRUE;
175      map_hl_circle_new(map, CANVAS_GROUP_NODES_HL, new_map_item,      map_hl_circle_new(map, CANVAS_GROUP_NODES_IHL, new_map_item,
176                        x, y, map->style->node.radius,                        x, y, map->style->node.radius,
177                        map->style->highlight.node_color);                        map->style->highlight.node_color);
178    }    }
# Line 252  void map_way_select(appdata_t *appdata, Line 252  void map_way_select(appdata_t *appdata,
252        gint x = node_chain->node->lpos.x;        gint x = node_chain->node->lpos.x;
253        gint y = node_chain->node->lpos.y;        gint y = node_chain->node->lpos.y;
254    
255        map_hl_circle_new(map, CANVAS_GROUP_NODES_HL, new_map_item,        map_hl_circle_new(map, CANVAS_GROUP_NODES_IHL, new_map_item,
256                          x, y, map->style->node.radius,                          x, y, map->style->node.radius,
257                          map->style->highlight.node_color);                          map->style->highlight.node_color);
258      }      }

Legend:
Removed from v.108  
changed lines
  Added in v.151