summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-07 15:41:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-07 15:41:00 +0300
commitf69f346518f473f4f8fb13966e5831d105d1239c (patch)
tree4c5f44aaedbeb07af2197720c43ed86d68d0605d /src/gui/widgets
parent0ea2569615fb54cfd3d0606fb9cb86aee9efea4c (diff)
downloadmv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.gz
mv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.bz2
mv-f69f346518f473f4f8fb13966e5831d105d1239c.tar.xz
mv-f69f346518f473f4f8fb13966e5831d105d1239c.zip
Move image class into image directory.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp2
-rw-r--r--src/gui/widgets/browserbox.cpp4
-rw-r--r--src/gui/widgets/button.cpp3
-rw-r--r--src/gui/widgets/checkbox.cpp3
-rw-r--r--src/gui/widgets/desktop.cpp3
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/icon.cpp2
-rw-r--r--src/gui/widgets/linepart.cpp2
-rw-r--r--src/gui/widgets/playerbox.cpp2
-rw-r--r--src/gui/widgets/radiobutton.cpp3
-rw-r--r--src/gui/widgets/scrollarea.cpp3
-rw-r--r--src/gui/widgets/shoplistbox.cpp2
-rw-r--r--src/gui/widgets/shortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/skilldata.cpp2
-rw-r--r--src/gui/widgets/slider.cpp3
-rw-r--r--src/gui/widgets/tabs/tab.cpp3
-rw-r--r--src/gui/widgets/textfield.cpp3
-rw-r--r--src/gui/widgets/window.cpp2
18 files changed, 28 insertions, 19 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index bd71e1ff9..9919a10d3 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -43,7 +43,7 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "resources/map/map.h"
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 007f2ce2c..5edc9384e 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -39,14 +39,14 @@
#include "render/graphics.h"
-#include "resources/image.h"
#include "resources/imageset.h"
#include "resources/iteminfo.h"
#include "resources/db/itemdb.h"
-#include "resources/loaders/imageloader.h"
+#include "resources/image/image.h"
+#include "resources/loaders/imageloader.h"
#include "resources/loaders/imagesetloader.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 3fe272a2e..9ed506b9a 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -67,10 +67,11 @@
#include "settings.h"
-#include "resources/image.h"
#include "resources/imageset.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "gui/gui.h"
#include "gui/skin.h"
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index b0679e1d8..fce3560a6 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -74,9 +74,10 @@
#include "render/graphics.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "debug.h"
int CheckBox::instances = 0;
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 6c939db5c..d1a7822a1 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -31,10 +31,11 @@
#include "render/opengl/opengldebug.h"
-#include "resources/image.h"
#include "resources/imagehelper.h"
#include "resources/wallpaper.h"
+#include "resources/image/image.h"
+
#include "resources/loaders/rescaledloader.h"
#include "resources/resourcemanager/resourcemanager.h"
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index 0b004cdad..2fbb1e6bc 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -37,10 +37,11 @@
#include "input/inputactionoperators.h"
#include "resources/emotesprite.h"
-#include "resources/image.h"
#include "resources/db/emotedb.h"
+#include "resources/image/image.h"
+
#include "resources/sprite/animatedsprite.h"
#include "utils/stringutils.h"
diff --git a/src/gui/widgets/icon.cpp b/src/gui/widgets/icon.cpp
index 3b9bdeaf8..e9f745255 100644
--- a/src/gui/widgets/icon.cpp
+++ b/src/gui/widgets/icon.cpp
@@ -26,7 +26,7 @@
#include "render/graphics.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "resources/loaders/imageloader.h"
diff --git a/src/gui/widgets/linepart.cpp b/src/gui/widgets/linepart.cpp
index 51cd7f878..0b778cbbb 100644
--- a/src/gui/widgets/linepart.cpp
+++ b/src/gui/widgets/linepart.cpp
@@ -21,7 +21,7 @@
#include "gui/widgets/linepart.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "debug.h"
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp
index 75d1dc872..560102f5b 100644
--- a/src/gui/widgets/playerbox.cpp
+++ b/src/gui/widgets/playerbox.cpp
@@ -31,7 +31,7 @@
#include "render/graphics.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "debug.h"
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index 6cd6b75e0..b3d43a09f 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -74,9 +74,10 @@
#include "render/graphics.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "debug.h"
int RadioButton::instances = 0;
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index db3de4874..065a72df8 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -77,9 +77,10 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "debug.h"
int ScrollArea::instances = 0;
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index fe720e387..5d083a30f 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -37,7 +37,7 @@
#include "render/graphics.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "resources/item/shopitem.h"
diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp
index c39cec66e..1d787e096 100644
--- a/src/gui/widgets/shortcutcontainer.cpp
+++ b/src/gui/widgets/shortcutcontainer.cpp
@@ -28,7 +28,7 @@
#include "utils/delete2.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "render/graphics.h"
diff --git a/src/gui/widgets/skilldata.cpp b/src/gui/widgets/skilldata.cpp
index 507942e1b..3b8328474 100644
--- a/src/gui/widgets/skilldata.cpp
+++ b/src/gui/widgets/skilldata.cpp
@@ -26,7 +26,7 @@
#include "gui/theme.h"
-#include "resources/image.h"
+#include "resources/image/image.h"
#include "resources/loaders/imageloader.h"
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp
index 9b21c0bab..5d8e47d2c 100644
--- a/src/gui/widgets/slider.cpp
+++ b/src/gui/widgets/slider.cpp
@@ -71,9 +71,10 @@
#include "utils/delete2.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "render/graphics.h"
#include "render/vertexes/imagecollection.h"
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index a7568a4ca..2555ca52b 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -75,9 +75,10 @@
#include "render/vertexes/imagecollection.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#include "utils/delete2.h"
#include "debug.h"
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index 9d89dfe45..f4c6f11b6 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -92,9 +92,10 @@
#include "render/graphics.h"
-#include "resources/image.h"
#include "resources/imagerect.h"
+#include "resources/image/image.h"
+
#undef DELETE // Win32 compatibility hack
#include "debug.h"
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index a1f4c4661..036f17688 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -70,7 +70,7 @@
#ifndef DYECMD
#include "dragdrop.h"
#else
-#include "resources/image.h"
+#include "resources/image/image.h"
#endif
#include "soundmanager.h"