summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-18 23:19:10 +0800
committerchai <chaifix@163.com>2019-01-18 23:19:10 +0800
commit91346d709abb37a063d0c29ddeb2d1a849d3afc2 (patch)
tree7546bc20d6156469287529c377d94c0b454bdf23 /Source
parent5c783b42310b7c57e4d8a0be7f5748139e54e452 (diff)
*misc
Diffstat (limited to 'Source')
-rw-r--r--Source/Asura/Graphics/Animator.h5
-rw-r--r--Source/Asura/Graphics/Color.h16
-rw-r--r--Source/Asura/Graphics/Image.h7
3 files changed, 20 insertions, 8 deletions
diff --git a/Source/Asura/Graphics/Animator.h b/Source/Asura/Graphics/Animator.h
index e8101cc..4d3d269 100644
--- a/Source/Asura/Graphics/Animator.h
+++ b/Source/Asura/Graphics/Animator.h
@@ -59,6 +59,11 @@ namespace AsuraEngine
///
void SetToEnd();
+ ///
+ /// ͣ
+ ///
+ void Pause();
+
private:
///
diff --git a/Source/Asura/Graphics/Color.h b/Source/Asura/Graphics/Color.h
index 1e3b131..f172156 100644
--- a/Source/Asura/Graphics/Color.h
+++ b/Source/Asura/Graphics/Color.h
@@ -1,24 +1,26 @@
#ifndef __AE_COLOR_H__
#define __AE_COLOR_H__
+#include "Type.h"
+
namespace AsuraEngine
{
namespace Graphics
{
///
- ///
+ /// 32bitsɫ
///
class Color
{
+ public:
- };
+ Color(byte r, byte g, byte b, byte a);
+ ~Color();
- ///
- ///
- ///
- class Color32
- {
+ private:
+
+ byte mR, mG, mB, mA;
};
diff --git a/Source/Asura/Graphics/Image.h b/Source/Asura/Graphics/Image.h
index 96fa63c..5b27079 100644
--- a/Source/Asura/Graphics/Image.h
+++ b/Source/Asura/Graphics/Image.h
@@ -22,7 +22,6 @@ namespace AsuraEngine
{
public:
- Math::Vector2 GetSize();
uint GetWidth();
uint GetHeight();
@@ -51,6 +50,9 @@ namespace AsuraEngine
};
+ ///
+ ///
+ ///
class ImageManager : public Manager
{
public:
@@ -92,6 +94,9 @@ namespace AsuraEngine
};
+ ///
+ ///
+ ///
class ImageFactory : public Factory
{
public: