edit_win.h
branchgui
changeset 26 b0c76a4d5801
parent 10 43ddd0c9d881
child 30 f70bbee5350a
equal deleted inserted replaced
0:fb1662604220 1:700d2735c3ee
    13 ///on which the wished editorial tool can be activated.
    13 ///on which the wished editorial tool can be activated.
    14 class EditWin : public Gtk::Window
    14 class EditWin : public Gtk::Window
    15 {
    15 {
    16 protected:
    16 protected:
    17   ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
    17   ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
    18   ///It has to be known for this class, because
    18   ///It has to be known for this class, because the appropriate
    19   ///when a map assigned to a certain attribute
    19   //callback function for each tool is implemented in that class
    20   ///a function of the \ref GraphDisplayerCanvas will be called.
       
    21   GraphDisplayerCanvas & gdc;
    20   GraphDisplayerCanvas & gdc;
    22 
    21 
       
    22   ///Table that holds the tools.
    23   Gtk::Table table;
    23   Gtk::Table table;
    24   
    24   
    25   Gtk::Label * label;
    25   ///these buttons are RadioButtons with classic look
    26   Gtk::Button * button;
    26   Gtk::RadioButton ** buttons;
    27 
    27 
    28 public:
    28 public:
    29   ///Constructor of EditWin creates the widgets shown in EditWin.
    29   ///Constructor of EditWin creates the widgets shown in EditWin.
    30   EditWin(const std::string& title, GraphDisplayerCanvas &);
    30   EditWin(const std::string& title, GraphDisplayerCanvas &);
    31 
    31