graph_displayer_canvas.h
branchgui
changeset 55 e4ee805ca5fc
parent 53 e73d7540bd24
child 62 80eefca04b1e
     1.1 --- a/graph_displayer_canvas.h	Fri Jul 29 12:30:28 2005 +0000
     1.2 +++ b/graph_displayer_canvas.h	Sun Aug 07 14:17:11 2005 +0000
     1.3 @@ -18,7 +18,7 @@
     1.4    typedef Gnome::Canvas::CanvasAA Parent;
     1.5  
     1.6  public:
     1.7 -  GraphDisplayerCanvas(MapStorage &, MapWin &);
     1.8 +  GraphDisplayerCanvas(MapStorage &, MapWin &, Gtk::Window *);
     1.9    virtual ~GraphDisplayerCanvas();
    1.10  
    1.11    ///Changes the linewidth attribute according to the given map.
    1.12 @@ -177,6 +177,10 @@
    1.13    ///We need to store mapwin, to be able to ask the appropriate values for properties of new items.
    1.14    MapWin & mapwin;
    1.15  
    1.16 +  ///We need to store the parent window to be able to set the focus on a given widget
    1.17 +  ///We will use this variable to activate the set focus on entry widget in the case of editing map values.
    1.18 +  Gtk::Window * parentwin;
    1.19 +
    1.20  };
    1.21  
    1.22  #endif //GRAPH_DISPLAYER_CANVAS_H