summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 23:47:57 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 23:52:46 +0200
commitd69d85f06fa6dc22ac4c7789e4140e32d119a7f1 (patch)
tree1d2311bfdba616136d0ac26f8cbe9ab73c88f0e4 /src/gui/buy.h
parent303c1f69761e90b83d4809e911f7785ec66b46aa (diff)
downloadMana-d69d85f06fa6dc22ac4c7789e4140e32d119a7f1.tar.gz
Mana-d69d85f06fa6dc22ac4c7789e4140e32d119a7f1.tar.bz2
Mana-d69d85f06fa6dc22ac4c7789e4140e32d119a7f1.tar.xz
Mana-d69d85f06fa6dc22ac4c7789e4140e32d119a7f1.zip
Moved basic widgets into the gui/widgets directory
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r--src/gui/buy.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h
index 1e022652..52d02d7b 100644
--- a/src/gui/buy.h
+++ b/src/gui/buy.h
@@ -22,12 +22,12 @@
#ifndef BUY_H
#define BUY_H
-#include <guichan/actionlistener.hpp>
-#include <guichan/selectionlistener.hpp>
+#include "gui/widgets/window.h"
-#include "window.h"
+#include "guichanfwd.h"
-#include "../guichanfwd.h"
+#include <guichan/actionlistener.hpp>
+#include <guichan/selectionlistener.hpp>
class ShopItems;
class ShopListBox;
@@ -108,6 +108,7 @@ class BuyDialog : public Window, public gcn::ActionListener,
* Closes the Buy Window, as well as resetting the current npc.
*/
void close();
+
private:
gcn::Button *mBuyButton;
gcn::Button *mQuitButton;