background_chooser_dialog.h
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 10 Oct 2008 13:36:20 +0100
changeset 7 f227a74db59d
permissions -rw-r--r--
Update to compile with the latest LEMON (version 1.0 or [5e12d7734036])
     1 #ifndef BACKGROUND_CHOOSER_DIALOG
     2 #define BACKGROUND_CHOOSER_DIALOG
     3 
     4 #include <gtkmm/dialog.h>
     5 #include <gtkmm/label.h>
     6 #include <gtkmm/filechooserbutton.h>
     7 #include <gtkmm/spinbutton.h>
     8 
     9 class MapStorage;
    10 
    11 class BackgroundChooserDialog : public Gtk::Dialog
    12 {
    13   private:
    14     MapStorage* mapstorage;
    15     Gtk::Label lblBackground;
    16     Gtk::Label lblScaling;
    17     Gtk::FileChooserButton fcbBackground;
    18     Gtk::SpinButton sbScaling;
    19     Gtk::HBox box;
    20     Gtk::Button btnClear;
    21     void clearBackground();
    22     void setBackground();
    23   public:
    24     BackgroundChooserDialog(MapStorage* ms);
    25 };
    26 
    27 #endif