summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-15 02:55:31 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-09-28 18:35:44 +0200
commit1012c6edeffc4a220c7151a7a1a55f12abf2fa9c (patch)
tree1f8688f8c4afe5a58ce2d022d793661adf1516ff /src/gui/quitdialog.h
parenteb5d34756588ca95003094bc910efcb5c832390f (diff)
downloadmana-1012c6edeffc4a220c7151a7a1a55f12abf2fa9c.tar.gz
mana-1012c6edeffc4a220c7151a7a1a55f12abf2fa9c.tar.bz2
mana-1012c6edeffc4a220c7151a7a1a55f12abf2fa9c.tar.xz
mana-1012c6edeffc4a220c7151a7a1a55f12abf2fa9c.zip
Added icons to the confirm and cancel button of the quit dialog.
This a good example of use for the new graphics and button functionalities.
Diffstat (limited to 'src/gui/quitdialog.h')
-rw-r--r--src/gui/quitdialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/quitdialog.h b/src/gui/quitdialog.h
index 65a325b8..21fe2f8a 100644
--- a/src/gui/quitdialog.h
+++ b/src/gui/quitdialog.h
@@ -29,6 +29,8 @@
#include <vector>
+class Button;
+
/**
* The quit dialog.
*
@@ -62,8 +64,8 @@ class QuitDialog : public Window, public gcn::ActionListener,
gcn::RadioButton *mForceQuit;
gcn::RadioButton *mSwitchAccountServer;
gcn::RadioButton *mSwitchCharacter;
- gcn::Button *mOkButton;
- gcn::Button *mCancelButton;
+ Button *mOkButton;
+ Button *mCancelButton;
QuitDialog **mMyPointer;
};