diff options
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r-- | src/gui/setup.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h index bb211997..d94069a9 100644 --- a/src/gui/setup.h +++ b/src/gui/setup.h @@ -13,26 +13,21 @@ #include <winalleg.h> #endif -class Setup { - public: - Setup(); - ~Setup(); - void toggleVisible(bool toggle); - +class Setup : public Window, public gcn::ActionListener { private: - bool visible; /* Dialog parts */ - gcn::Container *setupDialog; gcn::Label *displayLabel; gcn::Button *applyButton; gcn::Button *cancelButton; -}; - -/* The action listener for setup dialog */ -class SetupActionListener : public gcn::ActionListener -{ + public: + Setup(gcn::Container *parent); + ~Setup(); + void action(const std::string& eventId); + }; +void create_setup(); + #endif |