From 24b712a956a48f43788e1c11e121aedf52e22278 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 26 Nov 2018 08:37:17 +0800 Subject: =?UTF-8?q?*=E7=B2=92=E5=AD=90=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/graphics/je_bitmap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libjin/graphics/je_bitmap.cpp') diff --git a/src/libjin/graphics/je_bitmap.cpp b/src/libjin/graphics/je_bitmap.cpp index cdab46d..a6db55e 100644 --- a/src/libjin/graphics/je_bitmap.cpp +++ b/src/libjin/graphics/je_bitmap.cpp @@ -30,7 +30,7 @@ namespace JinEngine return bitmap; } - /*static*/ Bitmap* Bitmap::createBitmap(const void* imgData, size_t size) + Bitmap* Bitmap::createBitmap(const void* imgData, size_t size) { if (imgData == nullptr) return nullptr; @@ -48,7 +48,7 @@ namespace JinEngine return bitmap; } - /*static*/ Bitmap* Bitmap::createBitmap(int w, int h, Color color) + Bitmap* Bitmap::createBitmap(int w, int h, Color color) { Bitmap* bitmap = new Bitmap(w, h); if (color != Color::BLACK) @@ -56,7 +56,7 @@ namespace JinEngine return bitmap; } - /*static*/ Bitmap* Bitmap::createBitmap(int width, int height, std::function drawer) + Bitmap* Bitmap::createBitmap(int width, int height, std::function drawer) { Bitmap* bitmap = new Bitmap(width, height); for (int y = 0; y < height; ++y) -- cgit v1.1-26-g67d0