diff options
Diffstat (limited to 'src/libjin/graphics/je_graphic.h')
-rw-r--r-- | src/libjin/graphics/je_graphic.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/libjin/graphics/je_graphic.h b/src/libjin/graphics/je_graphic.h index 90b5522..f47adbf 100644 --- a/src/libjin/graphics/je_graphic.h +++ b/src/libjin/graphics/je_graphic.h @@ -17,43 +17,43 @@ namespace JinEngine namespace Graphics { - /// - /// Class inherites Graphic doesn't keep any state such as origin, scale and other properties. Very low + /// + /// Class inherites Graphic doesn't keep any state such as origin, scale and other properties. Very low /// level visualized resources. /// class Graphic : public Object, public Renderable { public: - /// - /// - /// + /// + /// + /// Graphic(int w = 0, int h = 0); - /// - /// - /// + /// + /// + /// Graphic(const Bitmap* bitmap); - /// - /// - /// + /// + /// + /// virtual ~Graphic(); - /// - /// - /// + /// + /// + /// inline int getWidth() const { return mSize.w; } - /// - /// - /// + /// + /// + /// inline int getHeight() const { return mSize.h; } - /// - /// Get opengl texture token. + /// + /// Get opengl texture token. /// /// @return OpenGL texture token. - /// + /// inline GLuint getGLTexture() const { return mTexture; } /// |