From d7a972a0f16da0fd7bf4c0b70913920216ff3113 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 8 Jun 2019 08:34:52 +0800 Subject: *misc --- source/modules/asura-core/image/image_data.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/modules/asura-core/image/image_data.h') diff --git a/source/modules/asura-core/image/image_data.h b/source/modules/asura-core/image/image_data.h index b05507a..c377407 100644 --- a/source/modules/asura-core/image/image_data.h +++ b/source/modules/asura-core/image/image_data.h @@ -14,7 +14,7 @@ namespace AsuraEngine { - namespace Graphics + namespace Image { class ImageDecoder; @@ -36,12 +36,12 @@ namespace AsuraEngine void Lock(); void Unlock(); - Color GetPixel(uint x, uint y); + AEGraphics::Color GetPixel(uint x, uint y); //----------------------------------------------------------------------------// uint width, height; // 像素尺寸 - ColorFormat format; // 格式 + AEGraphics::ColorFormat format; // 格式 byte* pixels; // 像素数据 std::size_t size; // 数据长度 @@ -80,6 +80,6 @@ namespace AsuraEngine } } -namespace AEGraphics = AsuraEngine::Graphics; +namespace AEImage = AsuraEngine::Image; #endif \ No newline at end of file -- cgit v1.1-26-g67d0