summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-core/graphics/image.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-27 09:07:54 +0800
committerchai <chaifix@163.com>2019-03-27 09:07:54 +0800
commit66c5fdc564dd892ed265132d6c1378dbe3cebcee (patch)
tree909848ed622b35c8653c961c9ebed8c574bb150e /source/libs/asura-lib-core/graphics/image.h
parentd9041d6e12ded456c17622f7f2e7bbacb9e99b1a (diff)
*misc
Diffstat (limited to 'source/libs/asura-lib-core/graphics/image.h')
-rw-r--r--source/libs/asura-lib-core/graphics/image.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/source/libs/asura-lib-core/graphics/image.h b/source/libs/asura-lib-core/graphics/image.h
index d8577ad..0e4ea0a 100644
--- a/source/libs/asura-lib-core/graphics/image.h
+++ b/source/libs/asura-lib-core/graphics/image.h
@@ -1,11 +1,12 @@
#ifndef __ASURA_ENGINE_IMAGE_H__
#define __ASURA_ENGINE_IMAGE_H__
-#include "../math/vector2.hpp"
-#include "../scripting/portable.hpp"
-#include "../fileSystem/reloadable.h"
-#include "../stringmap.hpp"
-#include "../manager.hpp"
+#include <asura-lib-utils/math/rect.hpp>
+#include <asura-lib-utils/math/vector2.hpp>
+#include <asura-lib-utils/scripting/portable.hpp>
+#include <asura-lib-utils/io/reloadable.h>
+#include <asura-lib-utils/stringmap.hpp>
+#include <asura-lib-utils/manager.hpp>
#include "texture.h"
#include "color.h"
@@ -26,7 +27,7 @@ namespace AsuraEngine
class Image ASURA_FINAL
: public Drawable
, public Scripting::Portable<Image>
- , public Filesystem::Reloadable
+ , public AEIO::Reloadable
{
public:
@@ -63,10 +64,10 @@ namespace AsuraEngine
LUAX_DECL_FACTORY(SimImage);
- LUAX_DECL_METHOD(l_Load);
- LUAX_DECL_METHOD(l_GetWidth);
- LUAX_DECL_METHOD(l_GetHeight);
- LUAX_DECL_METHOD(l_GetSize);
+ LUAX_DECL_METHOD(_Load);
+ LUAX_DECL_METHOD(_GetWidth);
+ LUAX_DECL_METHOD(_GetHeight);
+ LUAX_DECL_METHOD(_GetSize);
};