background_chooser_dialog.h
author Akos Ladanyi <ladanyi@tmit.bme.hu>
Thu, 10 Jul 2008 18:53:00 +0100
changeset 4 244d8c60b997
permissions -rw-r--r--
Issue a custom error message when Lemon is not found.
hegyi@1
     1
#ifndef BACKGROUND_CHOOSER_DIALOG
hegyi@1
     2
#define BACKGROUND_CHOOSER_DIALOG
hegyi@1
     3
hegyi@1
     4
#include <gtkmm/dialog.h>
hegyi@1
     5
#include <gtkmm/label.h>
hegyi@1
     6
#include <gtkmm/filechooserbutton.h>
hegyi@1
     7
#include <gtkmm/spinbutton.h>
hegyi@1
     8
hegyi@1
     9
class MapStorage;
hegyi@1
    10
hegyi@1
    11
class BackgroundChooserDialog : public Gtk::Dialog
hegyi@1
    12
{
hegyi@1
    13
  private:
hegyi@1
    14
    MapStorage* mapstorage;
hegyi@1
    15
    Gtk::Label lblBackground;
hegyi@1
    16
    Gtk::Label lblScaling;
hegyi@1
    17
    Gtk::FileChooserButton fcbBackground;
hegyi@1
    18
    Gtk::SpinButton sbScaling;
hegyi@1
    19
    Gtk::HBox box;
hegyi@1
    20
    Gtk::Button btnClear;
hegyi@1
    21
    void clearBackground();
hegyi@1
    22
    void setBackground();
hegyi@1
    23
  public:
hegyi@1
    24
    BackgroundChooserDialog(MapStorage* ms);
hegyi@1
    25
};
hegyi@1
    26
hegyi@1
    27
#endif