gui/graph_displayer_canvas.h
changeset 1553 434f9add42cd
parent 1524 587a823bcdd0
child 1562 73c3f5d0079c
equal deleted inserted replaced
14:83759a75962f 15:130cd5d288f1
    83   bool createNodeEventHandler(GdkEvent*);
    83   bool createNodeEventHandler(GdkEvent*);
    84   ///event handler for the case when create_edge-tool is active
    84   ///event handler for the case when create_edge-tool is active
    85   bool createEdgeEventHandler(GdkEvent*);
    85   bool createEdgeEventHandler(GdkEvent*);
    86   ///event handler for the case when eraser-tool is active
    86   ///event handler for the case when eraser-tool is active
    87   bool eraserEventHandler(GdkEvent*);
    87   bool eraserEventHandler(GdkEvent*);
    88   ///event handler for the case when eraser-tool is active
    88   ///event handler for the case when edge map editor tool is active
    89   bool edgeMapEditEventHandler(GdkEvent*);
    89   bool edgeMapEditEventHandler(GdkEvent*);
       
    90   ///event handler for the case when node map editor tool is active
       
    91   bool nodeMapEditEventHandler(GdkEvent*);
    90 
    92 
    91 public:
    93 public:
    92   ///Moves the text to new place
    94   ///Moves the text to new place
    93   void textReposition(xy<double>);
    95   void textReposition(xy<double>);
    94   ///Activates an edge belonging to a BrokenEdge
    96   ///Activates an edge belonging to a BrokenEdge
   124   Graph::NodeMap<Gnome::Canvas::Text *> nodetextmap;
   126   Graph::NodeMap<Gnome::Canvas::Text *> nodetextmap;
   125 
   127 
   126   ///Group of graphical elements of displayed_graph
   128   ///Group of graphical elements of displayed_graph
   127   Gnome::Canvas::Group displayed_graph;
   129   Gnome::Canvas::Group displayed_graph;
   128 
   130 
       
   131   ///Map editor entry
       
   132   Gtk::Entry entrywidget;
       
   133 
       
   134   ///GnomeCanvas holder for entry
       
   135   Gnome::Canvas::Widget * canvasentrywidget;
       
   136 
   129   ///Here we store the maps that can be displayed through properties.
   137   ///Here we store the maps that can be displayed through properties.
   130   MapStorage mapstorage;
   138   MapStorage mapstorage;
   131 
   139 
   132   ///Indicates whether the button of mouse is pressed or not
   140   ///Indicates whether the button of mouse is pressed or not
   133   int isbutton;
   141   int isbutton;