summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
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);
/**