summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
commitd83c6dd523827087681f019ebfca8798380dc968 (patch)
tree65515ef8405399007fef057bc37dc39ab1911000 /src/gui/popups
parent26f9aad24bc50d4e9fd161d185df049c9e7a62cf (diff)
downloadmanaverse-d83c6dd523827087681f019ebfca8798380dc968.tar.gz
manaverse-d83c6dd523827087681f019ebfca8798380dc968.tar.bz2
manaverse-d83c6dd523827087681f019ebfca8798380dc968.tar.xz
manaverse-d83c6dd523827087681f019ebfca8798380dc968.zip
fix code style.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.h10
-rw-r--r--src/gui/popups/spellpopup.cpp3
-rw-r--r--src/gui/popups/spellpopup.h3
3 files changed, 9 insertions, 7 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 70f8b7885..1ce274122 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -26,14 +26,11 @@
#include "gui/widgets/linkhandler.h"
#include "gui/widgets/popup.h"
-#include "being/actorsprite.h"
-
#include "listeners/actionlistener.h"
-#include "gui/base/listmodel.hpp"
-
#include "localconsts.h"
+class ActorSprite;
class Being;
class BrowserBox;
class Button;
@@ -48,6 +45,11 @@ class TextField;
class ProgressBar;
class Window;
+namespace gcn
+{
+ class ListModel;
+}
+
class RenameListener final : public ActionListener
{
public:
diff --git a/src/gui/popups/spellpopup.cpp b/src/gui/popups/spellpopup.cpp
index 8849a53cb..07bcc2330 100644
--- a/src/gui/popups/spellpopup.cpp
+++ b/src/gui/popups/spellpopup.cpp
@@ -23,7 +23,8 @@
#include "gui/popups/spellpopup.h"
-#include "gui/font.h"
+#include "textcommand.h"
+
#include "gui/gui.h"
#include "gui/widgets/label.h"
diff --git a/src/gui/popups/spellpopup.h b/src/gui/popups/spellpopup.h
index 152dfb306..cbbd53703 100644
--- a/src/gui/popups/spellpopup.h
+++ b/src/gui/popups/spellpopup.h
@@ -26,9 +26,8 @@
#include "gui/widgets/popup.h"
-#include "textcommand.h"
-
class Label;
+class TextCommand;
/**
* A popup that displays information about an item.