summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-31 20:29:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-31 20:29:03 +0300
commit7d987d35caf7a90b7ed0ffc942297ddc68c3da07 (patch)
tree90213329fe89653f92cbcfc20f550265e57c481d /src/gui/widgets/window.h
parent8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff)
downloadmv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.gz
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.bz2
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.xz
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.zip
Move ImagePosition enum into enums directory.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index ec0ce8b43..0e6e9c026 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -68,6 +68,8 @@
#include "enums/simpletypes/modal.h"
+#include "enums/resources/imageposition.h"
+
#include "listeners/mouselistener.h"
#include "listeners/widgetlistener.h"
@@ -151,7 +153,7 @@ class Window notfinal : public BasicContainer2,
/**
* Sets the location relative to the given enumerated position.
*/
- void setLocationRelativeTo(const ImageRect::ImagePosition &position,
+ void setLocationRelativeTo(const ImagePosition::Type &position,
int offsetX = 0, int offsetY = 0);
/**
@@ -391,7 +393,7 @@ class Window notfinal : public BasicContainer2,
* on a relative enumerated position, rather than a coordinate position.
*/
void setDefaultSize(const int defaultWidth, const int defaultHeight,
- const ImageRect::ImagePosition &position,
+ const ImagePosition::Type &position,
const int offsetx = 0, const int offsetY = 0);
/**