From 02dd1f38008594048f0e28bad01e7c6d18844198 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 18 Oct 2018 21:15:37 +0800 Subject: =?UTF-8?q?*=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Texture.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/libjin/Graphics/Texture.h') diff --git a/src/libjin/Graphics/Texture.h b/src/libjin/Graphics/Texture.h index 45f3f34..3e0161c 100644 --- a/src/libjin/Graphics/Texture.h +++ b/src/libjin/Graphics/Texture.h @@ -1,7 +1,7 @@ #ifndef __LIBJIN_TEXTURE_H #define __LIBJIN_TEXTURE_H #include "../configuration.h" -#if LIBJIN_MODULES_RENDER +#if defined(jin_graphics) #include "../3rdparty/GLee/GLee.h" #include "Color.h" @@ -11,15 +11,26 @@ namespace jin { namespace graphics { - + /// + /// + /// class Texture: public Drawable { public: + /// + /// + /// static Texture* createTexture(Bitmap* bitmap); + /// + /// + /// ~Texture(); private: + /// + /// + /// Texture(const Bitmap* bitmap); }; @@ -27,5 +38,6 @@ namespace jin } // namespace graphics } // namespace jin -#endif // LIBJIN_MODULES_RENDER +#endif // jin_graphics + #endif // __LIBJIN_TEXTURE_H \ No newline at end of file -- cgit v1.1-26-g67d0