diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
commit | 7d987d35caf7a90b7ed0ffc942297ddc68c3da07 (patch) | |
tree | 90213329fe89653f92cbcfc20f550265e57c481d /src/gui/widgets/window.h | |
parent | 8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff) | |
download | manaverse-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.gz manaverse-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.bz2 manaverse-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.xz manaverse-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.zip |
Move ImagePosition enum into enums directory.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 6 |
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); /** |