summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/window
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/window')
-rw-r--r--source/modules/asura-core/window/binding/_window.cpp1
-rw-r--r--source/modules/asura-core/window/window.h4
-rw-r--r--source/modules/asura-core/window/window_impl_sdl.cpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/source/modules/asura-core/window/binding/_window.cpp b/source/modules/asura-core/window/binding/_window.cpp
index e477408..cff1dd3 100644
--- a/source/modules/asura-core/window/binding/_window.cpp
+++ b/source/modules/asura-core/window/binding/_window.cpp
@@ -4,6 +4,7 @@
using namespace std;
using namespace AEGraphics;
+using namespace AEImage;
namespace AsuraEngine
{
diff --git a/source/modules/asura-core/window/window.h b/source/modules/asura-core/window/window.h
index 61adae1..d0f62c1 100644
--- a/source/modules/asura-core/window/window.h
+++ b/source/modules/asura-core/window/window.h
@@ -48,7 +48,7 @@ namespace AsuraEngine
int x, y; ///< ڳʼ
std::string title; ///<
bool vsync; ///< ֱͬ
- AEGraphics::ImageData* icon; ///< ͼ
+ AEImage::ImageData* icon; ///< ͼ
bool show; ///< Ƿʾ
int flag; ///< ڱ
};
@@ -80,7 +80,7 @@ namespace AsuraEngine
void SetSize(uint width, uint height);
void SetPosition(int x, int y);
void SetTitle(const std::string& title);
- void SetIcon(AEGraphics::ImageData* imgData);
+ void SetIcon(AEImage::ImageData* imgData);
void Show();
void Hide();
diff --git a/source/modules/asura-core/window/window_impl_sdl.cpp b/source/modules/asura-core/window/window_impl_sdl.cpp
index 9554e37..2679bc1 100644
--- a/source/modules/asura-core/window/window_impl_sdl.cpp
+++ b/source/modules/asura-core/window/window_impl_sdl.cpp
@@ -9,6 +9,7 @@
#include "window_impl_sdl.h"
using namespace AEGraphics;
+using namespace AEImage;
namespace AsuraEngine
{