Changeset 1468:d0ccb2fdeeff in lemon-0.x for gui/graph_displayer_canvas.h
- Timestamp:
- 06/10/05 13:58:03 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1948
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.h
r1442 r1468 41 41 void updateScrollRegion(); 42 42 43 ///This function changes the tool in the graph-editor's hand 44 void changeEditorialTool(int); 45 43 46 protected: 44 47 … … 52 55 ///of the canvas 53 56 bool event_handler(GdkEvent* e, Node n); 57 58 ///actual event handler 59 /// 60 ///Actual event handler should be stored, to be able to disconnect it and later reconnect it. 61 sigc::connection actual_handler; 62 63 ///event handler for the case when move-tool is active 64 bool move_event_handler(GdkEvent*); 65 ///event handler for the case when create_node-tool is active 66 bool create_node_event_handler(GdkEvent*); 67 ///event handler for the case when create_edge-tool is active 68 bool create_edge_event_handler(GdkEvent*); 54 69 55 70 ///The graph, on which we work … … 83 98 ///2. we would like to handle only ony item per movement, therefore quering it is not a working solution 84 99 Gnome::Canvas::Item * active_item; 100 Graph::NodeIt active_node; 85 101 86 102 static const int zoom_step = 5;
Note: See TracChangeset
for help on using the changeset viewer.