all_include.h
branchgui
changeset 28 fa28f1071bd6
parent 23 d0e4ac77bafe
child 32 1f45545f124c
equal deleted inserted replaced
5:946286b37e05 6:e9e5e4b8e494
    14 #include <lemon/graph_utils.h>
    14 #include <lemon/graph_utils.h>
    15 #include <lemon/maps.h>
    15 #include <lemon/maps.h>
    16 #include <lemon/error.h>
    16 #include <lemon/error.h>
    17 #include <lemon/xy.h>
    17 #include <lemon/xy.h>
    18 
    18 
    19 enum {WIDTH, COLOR, TEXT, 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 {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, EDGE_MAP_EDIT, TOOL_NUM}; // tools;
    21 enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, EDGE_MAP_EDIT, TOOL_NUM}; // tools;
    21 #define RANGE 3
    22 #define RANGE 3
    22 #define WIN_WIDTH 900
    23 #define WIN_WIDTH 900
    23 #define WIN_HEIGHT 600
    24 #define WIN_HEIGHT 600
    24 
    25 
    25 
    26 
    26 #ifndef MAIN_PART
    27 #ifndef MAIN_PART
    27 extern std::vector <std::string> property_strings;
    28 extern std::vector <std::string> edge_property_strings;
    28 extern std::vector <double> property_defaults;
    29 extern std::vector <double> edge_property_defaults;
       
    30 extern std::vector <std::string> node_property_strings;
       
    31 extern std::vector <double> node_property_defaults;
    29 #endif //MAIN_PART
    32 #endif //MAIN_PART
    30 
    33 
    31 using namespace lemon;
    34 using namespace lemon;
    32 
    35 
    33 typedef xy<double> Coordinates;
    36 typedef xy<double> Coordinates;