summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
blob: b6b83717512af8d9f389e53e04fc32d4deccdb9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*----------------------------------------------------------------
 * 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