blob: b6b83717512af8d9f389e53e04fc32d4deccdb9e (
plain) (
tree)
|
|
/*----------------------------------------------------------------
* setup.h -- setup dialog module
*----------------------------------------------------------------
*/
#ifndef tmw_included_setup_h
#define tmw_included_setup_h
#include "gui.h"
#include "../graphic/graphic.h"
#include <allegro.h>
#ifdef WIN32
#include <winalleg.h>
#endif
class Setup : public Window, public gcn::ActionListener {
private:
/* Dialog parts */
gcn::Label *displayLabel;
gcn::Button *applyButton;
gcn::Button *cancelButton;
/* Setup dialog */
static Setup *ptr;
/* Methods */
Setup(gcn::Container *parent);
virtual ~Setup();
public:
void action(const std::string& eventId);
static Setup * create_setup();
};
#endif
|