Changeset 1524:587a823bcdd0 in lemon-0.x for gui/graph_displayer_canvas.h
- Timestamp:
- 06/29/05 17:41:33 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2010
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.h
r1512 r1524 71 71 ///of the canvas 72 72 ///DEPRECATED!!!! 73 bool event _handler(GdkEvent* e, Node n);73 bool eventHandler(GdkEvent* e, Node n); 74 74 75 75 ///actual event handler … … 79 79 80 80 ///event handler for the case when move-tool is active 81 bool move _event_handler(GdkEvent*);81 bool moveEventHandler(GdkEvent*); 82 82 ///event handler for the case when create_node-tool is active 83 bool create _node_event_handler(GdkEvent*);83 bool createNodeEventHandler(GdkEvent*); 84 84 ///event handler for the case when create_edge-tool is active 85 bool create _edge_event_handler(GdkEvent*);85 bool createEdgeEventHandler(GdkEvent*); 86 86 ///event handler for the case when eraser-tool is active 87 bool eraser _event_handler(GdkEvent*);87 bool eraserEventHandler(GdkEvent*); 88 88 ///event handler for the case when eraser-tool is active 89 bool edge _map_edit_event_handler(GdkEvent*);89 bool edgeMapEditEventHandler(GdkEvent*); 90 90 91 91 public: 92 92 ///Moves the text to new place 93 void text _reposition(xy<double>);93 void textReposition(xy<double>); 94 94 ///Activates an edge belonging to a BrokenEdge 95 void toggle _edge_activity(BrokenEdge*, bool);95 void toggleEdgeActivity(BrokenEdge*, bool); 96 96 97 97 public: 98 98 ///\return the actual tool in hand 99 int get _actual_tool();99 int getActualTool(); 100 100 101 101 private: 102 102 ///Deletes the given element. 103 void delete _item(NodeIt);103 void deleteItem(NodeIt); 104 104 ///Deletes the given element. 105 void delete _item(EdgeIt);105 void deleteItem(EdgeIt); 106 106 ///Deletes the given element. 107 void delete _item(Graph::Edge);107 void deleteItem(Graph::Edge); 108 108 109 109 private: 110 110 111 111 ///The graph, on which we work 112 Graph g;112 Graph & g; 113 113 114 114 ///Map of nodes of graph
Note: See TracChangeset
for help on using the changeset viewer.