1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/background_chooser_dialog.h Mon Jul 07 08:10:39 2008 -0500
1.3 @@ -0,0 +1,27 @@
1.4 +#ifndef BACKGROUND_CHOOSER_DIALOG
1.5 +#define BACKGROUND_CHOOSER_DIALOG
1.6 +
1.7 +#include <gtkmm/dialog.h>
1.8 +#include <gtkmm/label.h>
1.9 +#include <gtkmm/filechooserbutton.h>
1.10 +#include <gtkmm/spinbutton.h>
1.11 +
1.12 +class MapStorage;
1.13 +
1.14 +class BackgroundChooserDialog : public Gtk::Dialog
1.15 +{
1.16 + private:
1.17 + MapStorage* mapstorage;
1.18 + Gtk::Label lblBackground;
1.19 + Gtk::Label lblScaling;
1.20 + Gtk::FileChooserButton fcbBackground;
1.21 + Gtk::SpinButton sbScaling;
1.22 + Gtk::HBox box;
1.23 + Gtk::Button btnClear;
1.24 + void clearBackground();
1.25 + void setBackground();
1.26 + public:
1.27 + BackgroundChooserDialog(MapStorage* ms);
1.28 +};
1.29 +
1.30 +#endif