gui/graph_displayer_canvas.cc
changeset 1632 93ac8c521fe5
parent 1614 350c1d8bb7cc
child 1645 4a04bb856ac7
equal deleted inserted replaced
29:0faf1900ae37 30:8dbc0bd87c4b
     1 #include "graph_displayer_canvas.h"
     1 #include "graph_displayer_canvas.h"
     2 #include "broken_edge.h"
     2 #include "broken_edge.h"
     3 #include <math.h>
     3 #include <cmath>
     4 
     4 
     5 GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
     5 GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
     6   nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),
     6   nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),
     7   nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0),
     7   nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0),
     8   canvasentrywidget(NULL), mapstorage(ms), isbutton(0), active_item(NULL),
     8   canvasentrywidget(NULL), mapstorage(ms), isbutton(0), active_item(NULL),