all_include.h
branchgui
changeset 54 9128e364fb19
parent 37 1dc5b49457c0
child 62 80eefca04b1e
equal deleted inserted replaced
9:9d22889e97e3 10:469d754ec883
    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, NODE_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 #define ALMOST_ONE 0.9999999999
    25 #define MIN_EDGE_WIDTH 2
       
    26 #define MAX_EDGE_WIDTH 40
       
    27 #define MIN_NODE_RADIUS 2
       
    28 #define MAX_NODE_RADIUS 80
    26 
    29 
    27 #ifndef MAIN_PART
    30 #ifndef MAIN_PART
    28 extern std::vector <std::string> edge_property_strings;
    31 extern std::vector <std::string> edge_property_strings;
    29 extern std::vector <double> edge_property_defaults;
    32 extern std::vector <double> edge_property_defaults;
    30 extern std::vector <std::string> node_property_strings;
    33 extern std::vector <std::string> node_property_strings;