79 |
typedef struct { |
typedef struct { |
80 |
gint refcount; |
gint refcount; |
81 |
float zoom; // zoom level (1.0 = 1m/pixel |
float zoom; // zoom level (1.0 = 1m/pixel |
82 |
|
float detail; // deatil level (1.0 = normal) |
83 |
struct { gint x,y; } scroll_offset; // initial scroll offset |
struct { gint x,y; } scroll_offset; // initial scroll offset |
84 |
} map_state_t; |
} map_state_t; |
85 |
|
|
187 |
void map_node_draw(map_t *map, node_t *node); |
void map_node_draw(map_t *map, node_t *node); |
188 |
void map_relation_select(appdata_t *appdata, relation_t *relation); |
void map_relation_select(appdata_t *appdata, relation_t *relation); |
189 |
|
|
190 |
|
void map_detail_increase(map_t *map); |
191 |
|
void map_detail_decrease(map_t *map); |
192 |
|
void map_detail_normal(map_t *map); |
193 |
|
|
194 |
#endif // MAP_H |
#endif // MAP_H |