diff options
Diffstat (limited to 'src/libjin/Graphics/Texture.h')
-rw-r--r-- | src/libjin/Graphics/Texture.h | 18 |
1 files changed, 15 insertions, 3 deletions
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 |