equal
deleted
inserted
replaced
16 #include <lemon/error.h> |
16 #include <lemon/error.h> |
17 #include <lemon/xy.h> |
17 #include <lemon/xy.h> |
18 |
18 |
19 enum {E_WIDTH, E_COLOR, E_TEXT, EDGE_PROPERTY_NUM}; // edge properties; |
19 enum {E_WIDTH, E_COLOR, E_TEXT, EDGE_PROPERTY_NUM}; // edge properties; |
20 enum {N_RADIUS, N_COLOR, N_TEXT, NODE_PROPERTY_NUM}; // node properties; |
20 enum {N_RADIUS, N_COLOR, N_TEXT, NODE_PROPERTY_NUM}; // node properties; |
21 enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, EDGE_MAP_EDIT, TOOL_NUM}; // tools; |
21 enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, EDGE_MAP_EDIT, NODE_MAP_EDIT, TOOL_NUM}; // tools; |
22 #define RANGE 3 |
22 #define RANGE 3 |
23 #define WIN_WIDTH 900 |
23 #define WIN_WIDTH 900 |
24 #define WIN_HEIGHT 600 |
24 #define WIN_HEIGHT 600 |
25 |
25 |
26 |
26 |