Changeset 1837:8dd6160ff699 in lemon-0.x for gui/graph_displayer_canvas.h
- Timestamp:
- 11/29/05 20:31:58 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2389
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.h
r1819 r1837 7 7 8 8 #include "all_include.h" 9 #include "mapstorage.h" 10 #include "map_win.h" 9 #include "main_win.h" 11 10 #include <libgnomecanvasmm.h> 12 11 #include <libgnomecanvasmm/polygon.h> … … 41 40 42 41 public: 43 GraphDisplayerCanvas(Ma pStorage &, MapWin &, Gtk::Window *);42 GraphDisplayerCanvas(MainWin &); 44 43 virtual ~GraphDisplayerCanvas(); 45 44 … … 73 72 int changeNodeText (std::string mapname, Node new_item=INVALID); 74 73 int resetNodeText (Node new_item=INVALID); 74 75 void propertyChange(bool, int); 76 void propertyUpdate(Edge, int, int dummy=0); 77 void propertyUpdate(Node, int, int dummy=0); 78 79 void propertyUpdate(Edge); 80 void propertyUpdate(Node); 75 81 76 82 ///Callback for 'ViewZoomIn' action. … … 166 172 Gnome::Canvas::Group displayed_graph; 167 173 168 public:169 ///Here we store the maps that can be displayed through properties.170 MapStorage & mapstorage;171 172 174 private: 173 175 ///Indicates whether the button of mouse is pressed or not … … 194 196 static const int zoom_step = 5; 195 197 196 public: 197 ///We need to store mapwin, to be able to ask the appropriate values for properties of new items. 198 MapWin & mapwin; 199 200 private: 201 202 ///pointer to the parent window 203 Gtk::Window * parentwin; 198 private: 199 200 ///reference to the parent window 201 MainWin & mainwin; 204 202 205 203 };
Note: See TracChangeset
for help on using the changeset viewer.