#include <K2dImage.h>
Inheritance diagram for K2dImage:
Public Member Functions | |
K2dImage (void) | |
~K2dImage (void) | |
void | SetRectangle (const SDL_Rect _tRect) |
Set SDL rectangle. | |
SDL_Rect | GetRectangle () |
Get SDL rectangle. | |
void | SetBlend (const bool _bBlend) |
Set blending texture. | |
bool | GetBlend () |
Is blending texture? | |
void | SetTextureId (const int _iTextureId) |
Set texture index. | |
GLuint & | GetTextureId () |
Get texture index. | |
Private Attributes | |
SDL_Rect | m_tRect |
Image rectangle. | |
bool | m_bBlend |
Blend image? | |
GLuint | m_iTextureId |
Texture index. |
Definition at line 39 of file K2dImage.h.
K2dImage::K2dImage | ( | void | ) |
K2dImage::~K2dImage | ( | void | ) |
Definition at line 41 of file K2dImage.cpp.
void K2dImage::SetRectangle | ( | const SDL_Rect | _tRect | ) | [inline] |
Set SDL rectangle.
_tRect | SDL rectangle |
Definition at line 50 of file K2dImage.h.
References m_tRect.
SDL_Rect K2dImage::GetRectangle | ( | ) | [inline] |
Get SDL rectangle.
m_tRect | SDL rectangle |
Definition at line 56 of file K2dImage.h.
References m_tRect.
void K2dImage::SetBlend | ( | const bool | _bBlend | ) | [inline] |
Set blending texture.
_bBlend | Blending switch |
Definition at line 63 of file K2dImage.h.
References m_bBlend.
bool K2dImage::GetBlend | ( | ) | [inline] |
Is blending texture?
m_bBlend | Blending switch |
Definition at line 69 of file K2dImage.h.
References m_bBlend.
Referenced by K2dImageWork::DrawImages().
void K2dImage::SetTextureId | ( | const int | _iTextureId | ) | [inline] |
Set texture index.
_iTextureId | Texture index |
Definition at line 76 of file K2dImage.h.
References m_iTextureId.
GLuint& K2dImage::GetTextureId | ( | ) | [inline] |
Get texture index.
m_iTextureId | Texture index |
Definition at line 82 of file K2dImage.h.
References m_iTextureId.
Referenced by K2dImageBuild::DeleteImages().
SDL_Rect K2dImage::m_tRect [private] |
Image rectangle.
Definition at line 41 of file K2dImage.h.
Referenced by GetRectangle(), and SetRectangle().
bool K2dImage::m_bBlend [private] |
Blend image?
Definition at line 42 of file K2dImage.h.
Referenced by GetBlend(), K2dImage(), and SetBlend().
GLuint K2dImage::m_iTextureId [private] |
Texture index.
Definition at line 43 of file K2dImage.h.
Referenced by GetTextureId(), K2dImage(), and SetTextureId().