gui/graph_displayer_canvas.cc
changeset 1530 d99c3c84f797
parent 1524 587a823bcdd0
child 1550 4dcbb4ab1d7a
equal deleted inserted replaced
19:aa4daa5d4362 20:498daedd6bca
     3 #include <math.h>
     3 #include <math.h>
     4 
     4 
     5 GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms, MapWin * mw):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),nodetextmap(g),displayed_graph(*(root()), 0, 0),mapstorage(ms),isbutton(0),active_item(NULL),target_item(NULL),mapwin(mw)
     5 GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms, MapWin * mw):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),nodetextmap(g),displayed_graph(*(root()), 0, 0),mapstorage(ms),isbutton(0),active_item(NULL),target_item(NULL),mapwin(mw)
     6 {
     6 {
     7   
     7   
     8   actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::createNodeEventHandler), false);
     8   actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false);
     9   actual_tool=CREATE_NODE;
     9   actual_tool=CREATE_NODE;
    10 
    10 
    11   active_node=INVALID;
    11   active_node=INVALID;
    12   active_edge=INVALID;
    12   active_edge=INVALID;
    13 
    13