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 |
} |
} |
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 |
} |
} |