summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
commit7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch)
tree2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/quitdialog.h
parentef1975a3eb4e1986601ad154bf184e0de332870c (diff)
downloadmana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/gui/quitdialog.h')
-rw-r--r--src/gui/quitdialog.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/quitdialog.h b/src/gui/quitdialog.h
index aee671db..7f12c41c 100644
--- a/src/gui/quitdialog.h
+++ b/src/gui/quitdialog.h
@@ -22,27 +22,28 @@
#ifndef QUITDIALOG_H
#define QUITDIALOG_H
-#include <iosfwd>
-#include <guichan/actionlistener.hpp>
+#include "gui/window.h"
+
+#include "guichanfwd.h"
+#include "main.h"
-#include "window.h"
-#include "../guichanfwd.h"
-#include "../main.h"
+#include <guichan/actionlistener.hpp>
/**
* The quit dialog.
*
* \ingroup Interface
*/
-class QuitDialog : public Window, public gcn::ActionListener {
+class QuitDialog : public Window, public gcn::ActionListener
+{
public:
/**
* Constructor
*
* @quitGame; to be used for getting out of the while loop in Game
- * @pointerToMe; will be set to NULL when the QuitDialog is destroyed
+ * @pointerToMe will be set to NULL when the QuitDialog is destroyed
*/
- QuitDialog(bool* quitGame, QuitDialog** pointerToMe);
+ QuitDialog(bool *quitGame, QuitDialog **pointerToMe);
/**
* Destructor
@@ -62,9 +63,8 @@ class QuitDialog : public Window, public gcn::ActionListener {
gcn::Button *mOkButton;
gcn::Button *mCancelButton;
- bool* mQuitGame;
- QuitDialog** mMyPointer;
-
+ bool *mQuitGame;
+ QuitDialog **mMyPointer;
};
#endif