edit_win.h
branchgui
changeset 49 e112465192dc
parent 48 b8ec84524fa2
child 50 eedecee61922
     1.1 --- a/edit_win.h	Thu Jul 28 15:54:00 2005 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,40 +0,0 @@
     1.4 -// -*- C++ -*- //
     1.5 -
     1.6 -#ifndef EDIT_WIN_H
     1.7 -#define EDIT_WIN_H
     1.8 -
     1.9 -#include <all_include.h>
    1.10 -#include <mapstorage.h>
    1.11 -#include <graph_displayer_canvas.h>
    1.12 -#include <libgnomecanvasmm.h>
    1.13 -#include <libgnomecanvasmm/polygon.h>
    1.14 -
    1.15 -///This class is responsible for creating a window,
    1.16 -///on which the wished editorial tool can be activated.
    1.17 -class EditWin : public Gtk::Window
    1.18 -{
    1.19 -protected:
    1.20 -  ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
    1.21 -  ///It has to be known for this class, because the appropriate
    1.22 -  //callback function for each tool is implemented in that class
    1.23 -  GraphDisplayerCanvas & gdc;
    1.24 -
    1.25 -  ///Table that holds the tools.
    1.26 -  Gtk::Table table;
    1.27 -  
    1.28 -  ///these buttons are RadioButtons with classic look
    1.29 -  Gtk::RadioButton ** buttons;
    1.30 -
    1.31 -public:
    1.32 -  ///Constructor of EditWin creates the widgets shown in EditWin.
    1.33 -  EditWin(const std::string& title, GraphDisplayerCanvas &);
    1.34 -
    1.35 -  virtual bool closeIfEscapeIsPressed(GdkEventKey*);
    1.36 -
    1.37 -  ///Callback function in case of button pression.
    1.38 -  ///It changes the actual tool ins editor's hand.
    1.39 -  void makeEditorialToolChanged(int);
    1.40 -
    1.41 -};
    1.42 -
    1.43 -#endif //EDIT_WIN_H