equal
deleted
inserted
replaced
94 |
94 |
95 ///Remembers which Gnome::Canvas::Item was pressed. |
95 ///Remembers which Gnome::Canvas::Item was pressed. |
96 ///this variable is needed, because |
96 ///this variable is needed, because |
97 ///1. we cannot query the item at he cursor as fast as it could not cause a Segmentation Fault |
97 ///1. we cannot query the item at he cursor as fast as it could not cause a Segmentation Fault |
98 ///2. we would like to handle only ony item per movement, therefore quering it is not a working solution |
98 ///2. we would like to handle only ony item per movement, therefore quering it is not a working solution |
99 Gnome::Canvas::Item * active_item; |
99 Gnome::Canvas::Item * active_item, * target_item; |
100 Graph::NodeIt active_node; |
100 Graph::NodeIt active_node; |
|
101 Graph::EdgeIt active_edge; |
101 |
102 |
102 static const int zoom_step = 5; |
103 static const int zoom_step = 5; |
103 }; |
104 }; |
104 |
105 |
105 #endif //GRAPH_DISPLAYER_CANVAS_H |
106 #endif //GRAPH_DISPLAYER_CANVAS_H |