K2dImage Class Reference

#include <K2dImage.h>

Inheritance diagram for K2dImage:

K2dImageObj List of all members.

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.

Detailed Description

Definition at line 39 of file K2dImage.h.


Constructor & Destructor Documentation

K2dImage::K2dImage ( void   ) 

Definition at line 35 of file K2dImage.cpp.

References m_bBlend, and m_iTextureId.

K2dImage::~K2dImage ( void   ) 

Definition at line 41 of file K2dImage.cpp.


Member Function Documentation

void K2dImage::SetRectangle ( const SDL_Rect  _tRect  )  [inline]

Set SDL rectangle.

Parameters:
_tRect SDL rectangle

Definition at line 50 of file K2dImage.h.

References m_tRect.

SDL_Rect K2dImage::GetRectangle (  )  [inline]

Get SDL rectangle.

Return values:
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.

Parameters:
_bBlend Blending switch

Definition at line 63 of file K2dImage.h.

References m_bBlend.

bool K2dImage::GetBlend (  )  [inline]

Is blending texture?

Return values:
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.

Parameters:
_iTextureId Texture index

Definition at line 76 of file K2dImage.h.

References m_iTextureId.

GLuint& K2dImage::GetTextureId (  )  [inline]

Get texture index.

Return values:
m_iTextureId Texture index

Definition at line 82 of file K2dImage.h.

References m_iTextureId.

Referenced by K2dImageBuild::DeleteImages().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:30 2007 for K3dEngine by  doxygen 1.5.0