graph_displayer_canvas.cc
branchgui
changeset 59 c38925cc6a4d
parent 55 e4ee805ca5fc
child 63 59768817442a
equal deleted inserted replaced
29:6db5564c0175 30:0f2cc60975a5
     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),