summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
blob: d94069a9dad78af9e73b744ec212ce832a0de176 (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
/*----------------------------------------------------------------
 * 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;
  
 public:
  Setup(gcn::Container *parent);
  ~Setup();
  
  void action(const std::string& eventId);
  
};

void create_setup();

#endif