author | hegyi |
Tue, 27 Feb 2007 17:23:55 +0000 | |
changeset 192 | 9d7489e8921e |
permissions | -rw-r--r-- |
ladanyi@184 | 1 |
#ifndef BACKGROUND_CHOOSER_DIALOG |
ladanyi@184 | 2 |
#define BACKGROUND_CHOOSER_DIALOG |
ladanyi@184 | 3 |
|
ladanyi@184 | 4 |
#include <gtkmm/dialog.h> |
ladanyi@184 | 5 |
#include <gtkmm/label.h> |
ladanyi@184 | 6 |
#include <gtkmm/filechooserbutton.h> |
ladanyi@184 | 7 |
#include <gtkmm/spinbutton.h> |
ladanyi@184 | 8 |
|
ladanyi@184 | 9 |
class MapStorage; |
ladanyi@184 | 10 |
|
ladanyi@184 | 11 |
class BackgroundChooserDialog : public Gtk::Dialog |
ladanyi@184 | 12 |
{ |
ladanyi@184 | 13 |
private: |
ladanyi@184 | 14 |
MapStorage* mapstorage; |
ladanyi@184 | 15 |
Gtk::Label lblBackground; |
ladanyi@184 | 16 |
Gtk::Label lblScaling; |
ladanyi@184 | 17 |
Gtk::FileChooserButton fcbBackground; |
ladanyi@184 | 18 |
Gtk::SpinButton sbScaling; |
ladanyi@184 | 19 |
Gtk::HBox box; |
ladanyi@184 | 20 |
Gtk::Button btnClear; |
ladanyi@184 | 21 |
void clearBackground(); |
ladanyi@184 | 22 |
void setBackground(); |
ladanyi@184 | 23 |
public: |
ladanyi@184 | 24 |
BackgroundChooserDialog(MapStorage* ms); |
ladanyi@184 | 25 |
}; |
ladanyi@184 | 26 |
|
ladanyi@184 | 27 |
#endif |