summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:56 +0300
commit864e023e0faeca5aa662023a54af7e4f9797fafa (patch)
treeae76f85900e16e2c15d82b661077a265ecdd2276 /src/gui/widgets
parent4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff)
downloadplus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.zip
Move foreach macroses into separate file.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/basiccontainer.cpp2
-rw-r--r--src/gui/widgets/browserbox.cpp1
-rw-r--r--src/gui/widgets/characterviewnormal.cpp2
-rw-r--r--src/gui/widgets/characterviewsmall.cpp1
-rw-r--r--src/gui/widgets/emotepage.cpp1
-rw-r--r--src/gui/widgets/listbox.cpp2
-rw-r--r--src/gui/widgets/selldialog.cpp1
-rw-r--r--src/gui/widgets/staticbrowserbox.cpp1
-rw-r--r--src/gui/widgets/statspage.cpp2
-rw-r--r--src/gui/widgets/statspagebasic.cpp1
-rw-r--r--src/gui/widgets/tabbedarea.cpp1
-rw-r--r--src/gui/widgets/tabs/setup_mods.cpp1
-rw-r--r--src/gui/widgets/tabs/socialfriendstab.h1
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h1
-rw-r--r--src/gui/widgets/tabs/socialguildtab2.h1
-rw-r--r--src/gui/widgets/tabs/socialpartytab.h1
-rw-r--r--src/gui/widgets/tabstrip.cpp2
-rw-r--r--src/gui/widgets/vertcontainer.cpp2
-rw-r--r--src/gui/widgets/widget.cpp2
-rw-r--r--src/gui/widgets/windowcontainer.cpp1
20 files changed, 27 insertions, 0 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp
index 771ba83f4..768733ae5 100644
--- a/src/gui/widgets/basiccontainer.cpp
+++ b/src/gui/widgets/basiccontainer.cpp
@@ -63,6 +63,8 @@
#include "gui/widgets/basiccontainer.h"
+#include "utils/foreach.h"
+
#include "render/graphics.h"
#include <algorithm>
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 08db7e3bf..7687737b5 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -45,6 +45,7 @@
#include "utils/browserboxtools.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "utils/timer.h"
#include "utils/translation/podict.h"
diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp
index c92ad7477..288428d60 100644
--- a/src/gui/widgets/characterviewnormal.cpp
+++ b/src/gui/widgets/characterviewnormal.cpp
@@ -24,6 +24,8 @@
#include "gui/widgets/characterdisplay.h"
+#include "utils/foreach.h"
+
#include "debug.h"
CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget,
diff --git a/src/gui/widgets/characterviewsmall.cpp b/src/gui/widgets/characterviewsmall.cpp
index a861e5033..81580f9e1 100644
--- a/src/gui/widgets/characterviewsmall.cpp
+++ b/src/gui/widgets/characterviewsmall.cpp
@@ -24,6 +24,7 @@
#include "gui/widgets/characterdisplay.h"
#include "gui/widgets/label.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "debug.h"
diff --git a/src/gui/widgets/emotepage.cpp b/src/gui/widgets/emotepage.cpp
index 88f4addd4..afd165219 100644
--- a/src/gui/widgets/emotepage.cpp
+++ b/src/gui/widgets/emotepage.cpp
@@ -29,6 +29,7 @@
#include "resources/loaders/imagesetloader.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp
index 9628c2764..0bf590f6b 100644
--- a/src/gui/widgets/listbox.cpp
+++ b/src/gui/widgets/listbox.cpp
@@ -77,6 +77,8 @@
#include "listeners/selectionlistener.h"
+#include "utils/foreach.h"
+
#include "render/graphics.h"
#include "debug.h"
diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp
index 2d613fae8..68b9a039f 100644
--- a/src/gui/widgets/selldialog.cpp
+++ b/src/gui/widgets/selldialog.cpp
@@ -40,6 +40,7 @@
#include "gui/widgets/slider.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/staticbrowserbox.cpp b/src/gui/widgets/staticbrowserbox.cpp
index ed9e1e17d..ef51660c0 100644
--- a/src/gui/widgets/staticbrowserbox.cpp
+++ b/src/gui/widgets/staticbrowserbox.cpp
@@ -45,6 +45,7 @@
#include "utils/browserboxtools.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "utils/translation/podict.h"
diff --git a/src/gui/widgets/statspage.cpp b/src/gui/widgets/statspage.cpp
index eca98b1c4..65d322c05 100644
--- a/src/gui/widgets/statspage.cpp
+++ b/src/gui/widgets/statspage.cpp
@@ -25,6 +25,8 @@
#include "gui/widgets/attrs/derdisplay.h"
+#include "utils/foreach.h"
+
#include "resources/db/statdb.h"
#include "debug.h"
diff --git a/src/gui/widgets/statspagebasic.cpp b/src/gui/widgets/statspagebasic.cpp
index bdf90e14f..2996e5f12 100644
--- a/src/gui/widgets/statspagebasic.cpp
+++ b/src/gui/widgets/statspagebasic.cpp
@@ -28,6 +28,7 @@
#include "gui/widgets/attrs/changedisplay.h"
#include "utils/gettext.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "resources/db/statdb.h"
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 95ea305d6..f63772907 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -72,6 +72,7 @@
#include "gui/widgets/tabs/tab.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/gui/widgets/tabs/setup_mods.cpp b/src/gui/widgets/tabs/setup_mods.cpp
index 7ee8f2f34..c3ca23245 100644
--- a/src/gui/widgets/tabs/setup_mods.cpp
+++ b/src/gui/widgets/tabs/setup_mods.cpp
@@ -31,6 +31,7 @@
#include "resources/db/moddb.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/widgets/tabs/socialfriendstab.h b/src/gui/widgets/tabs/socialfriendstab.h
index 5bd13220b..017f465c7 100644
--- a/src/gui/widgets/tabs/socialfriendstab.h
+++ b/src/gui/widgets/tabs/socialfriendstab.h
@@ -34,6 +34,7 @@
#include "gui/widgets/tabs/socialfriendsfunctor.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "localconsts.h"
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index 775e22c6f..8652a54fe 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -27,6 +27,7 @@
#include "being/localplayer.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/tabs/socialguildtab2.h b/src/gui/widgets/tabs/socialguildtab2.h
index f26e99421..ff8544232 100644
--- a/src/gui/widgets/tabs/socialguildtab2.h
+++ b/src/gui/widgets/tabs/socialguildtab2.h
@@ -29,6 +29,7 @@
#include "being/localplayer.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h
index b24f8f411..d7f22c1f7 100644
--- a/src/gui/widgets/tabs/socialpartytab.h
+++ b/src/gui/widgets/tabs/socialpartytab.h
@@ -31,6 +31,7 @@
#include "net/partyhandler.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp
index 2a8299ea1..6b3dbe417 100644
--- a/src/gui/widgets/tabstrip.cpp
+++ b/src/gui/widgets/tabstrip.cpp
@@ -22,6 +22,8 @@
#include "gui/widgets/button.h"
+#include "utils/foreach.h"
+
#include "debug.h"
TabStrip::TabStrip(const Widget2 *const widget,
diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp
index e15dc2481..714daae23 100644
--- a/src/gui/widgets/vertcontainer.cpp
+++ b/src/gui/widgets/vertcontainer.cpp
@@ -21,6 +21,8 @@
#include "gui/widgets/vertcontainer.h"
+#include "utils/foreach.h"
+
#include "debug.h"
VertContainer::VertContainer(const Widget2 *const widget,
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index 260272936..8b49fddfd 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -73,6 +73,8 @@
#include "listeners/widgetdeathlistener.h"
#include "listeners/widgetlistener.h"
+#include "utils/foreach.h"
+
#include "debug.h"
Font* Widget::mGlobalFont = nullptr;
diff --git a/src/gui/widgets/windowcontainer.cpp b/src/gui/widgets/windowcontainer.cpp
index 38efd1a77..e054e27ad 100644
--- a/src/gui/widgets/windowcontainer.cpp
+++ b/src/gui/widgets/windowcontainer.cpp
@@ -25,6 +25,7 @@
#include "gui/widgets/window.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "debug.h"