Epee Engine  0.40
The Epee Engine is an open source cross platform graphics engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
EEWidget Class Reference

#include <EEWidget.h>

Inheritance diagram for EEWidget:
Inheritance graph
[legend]

Public Member Functions

 EEWidget (std::string _NameMain, int _TypeMain)
 
 EEWidget (std::string _NameMain, int _TypeMain, int _x, int _y, int _z)
 
virtual ~EEWidget ()
 
virtual void Init ()
 
virtual void LoadTexture ()
 
virtual void UnloadSurface ()
 
virtual SDL_Surface * LoadSurface ()
 
virtual void UnLoadTexture ()
 
virtual bool IsLoaded ()
 
virtual void SDL_GL_SurfaceToTexture (SDL_Surface *surface)
 
virtual void CreateTexture (SDL_Surface *_baseSurface, SDL_Surface *_image)
 
int NearestPowerOfTwo (int i)
 
void SetLocation (int _x, int _y)
 
int GetLocationX ()
 
int GetLocationY ()
 
std::string GetName ()
 
int GetLocationZ ()
 
virtual void SetHeightWidth (unsigned int _Height, unsigned int _Width)
 
unsigned int GetHeight ()
 
unsigned int GetWidth ()
 
bool SetDraw (bool _Draw)
 
bool GetDraw ()
 
int GetType ()
 
bool SetScalingFactor (double _ScalingX, double _ScalingY)
 
bool SetScalingFactorY (double _ScalingY)
 
bool SetScalingFactorX (double _ScalingX)
 
double GetScalingFactorX ()
 
double GetScalingFactorY ()
 
bool SetRotation (double _Degrees)
 
double GetRotation ()
 
bool SetAntiAliased (bool _AntiAliased)
 
bool GetAntiAliased ()
 
int GetCurrentVectorPostion ()
 
virtual EEWidgetWasClicked (int _mouselocationX, int _mouselocationY)
 
void DisableClick ()
 
void EnableClick ()
 
bool GetIsClickEnabled ()
 
void DisableAndTurnOffDraw ()
 
void EnableAndTurnOnDraw ()
 
void SetDontMoveOnClick (bool _flag)
 
bool GetDontMoveOnClick ()
 
bool WasLastSprocketClicked ()
 
void ShowOutLine ()
 
void HideOutLine ()
 
bool GetOutLine ()
 

Protected Member Functions

virtual void Render ()
 
 EEWidget ()
 
bool GetBlit ()
 
virtual SDL_Surface * SetSurface ()
 
virtual SDL_Surface * GetEEWidgeturface ()
 
SDL_Rect * GetRect ()
 
bool SetCurrentArrayPostion (int _newPostion)
 
void SetType (int _type)
 
void SetLocationZ (int _z)
 
void SetBlit (bool _blit)
 
virtual void SetModifySurFace (SDL_Surface *_ModifySurface)
 
SDL_Surface * GetModifySurFace ()
 

Protected Attributes

int m_iz
 
std::string m_sName
 
int m_iSprocketType
 
bool m_bDraw
 
int m_iCurrentPostion
 
bool m_iAntiAliased
 
bool m_bblit
 
bool m_bShowSurfaceOutline
 
double m_iRotation
 
double m_iScaleX
 
double m_iScaleY
 
bool m_bactive
 
bool m_bDontMoveButton
 
bool m_bCurrentlySelected
 
SDL_Rect m_cBox
 
unsigned int m_iTextureH
 
unsigned int m_iTextureW
 
SDL_Surface * m_porignalSurface
 
SDL_Surface * m_pModifySurface
 
GLuint m_GLTexture
 

Friends

class EpeeEngine
 
class RenderList
 

Constructor & Destructor Documentation

EEWidget::EEWidget ( )
protected
EEWidget::EEWidget ( std::string  _NameMain,
int  _TypeMain 
)
EEWidget::EEWidget ( std::string  _NameMain,
int  _TypeMain,
int  _x,
int  _y,
int  _z 
)
EEWidget::~EEWidget ( )
virtual

Member Function Documentation

void EEWidget::CreateTexture ( SDL_Surface *  _baseSurface,
SDL_Surface *  _image 
)
virtual

Reimplemented in Animation.

void EEWidget::DisableAndTurnOffDraw ( )
void EEWidget::DisableClick ( )
void EEWidget::EnableAndTurnOnDraw ( )
void EEWidget::EnableClick ( )
bool EEWidget::GetAntiAliased ( )
bool EEWidget::GetBlit ( )
protected
int EEWidget::GetCurrentVectorPostion ( )
bool EEWidget::GetDontMoveOnClick ( )
bool EEWidget::GetDraw ( )
SDL_Surface * EEWidget::GetEEWidgeturface ( )
protectedvirtual
unsigned int EEWidget::GetHeight ( )
bool EEWidget::GetIsClickEnabled ( )
int EEWidget::GetLocationX ( )
int EEWidget::GetLocationY ( )
int EEWidget::GetLocationZ ( )
SDL_Surface * EEWidget::GetModifySurFace ( )
protected
std::string EEWidget::GetName ( )
bool EEWidget::GetOutLine ( )
SDL_Rect * EEWidget::GetRect ( )
protected
double EEWidget::GetRotation ( )
double EEWidget::GetScalingFactorX ( )
double EEWidget::GetScalingFactorY ( )
int EEWidget::GetType ( )
unsigned int EEWidget::GetWidth ( )
void EEWidget::HideOutLine ( )
void EEWidget::Init ( )
virtual

Reimplemented in Animation.

bool EEWidget::IsLoaded ( )
virtual

Reimplemented in Animation.

SDL_Surface * EEWidget::LoadSurface ( )
virtual

Reimplemented in Animation, textBox, and image.

void EEWidget::LoadTexture ( )
virtual

Reimplemented in Animation, and image.

int EEWidget::NearestPowerOfTwo ( int  i)
void EEWidget::Render ( )
protectedvirtual

Reimplemented in Animation, and textBox.

void EEWidget::SDL_GL_SurfaceToTexture ( SDL_Surface *  surface)
virtual

Reimplemented in Animation.

bool EEWidget::SetAntiAliased ( bool  _AntiAliased)
void EEWidget::SetBlit ( bool  _blit)
protected
bool EEWidget::SetCurrentArrayPostion ( int  _newPostion)
protected
void EEWidget::SetDontMoveOnClick ( bool  _flag)
bool EEWidget::SetDraw ( bool  _Draw)
void EEWidget::SetHeightWidth ( unsigned int  _Height,
unsigned int  _Width 
)
virtual

Reimplemented in textBox.

void EEWidget::SetLocation ( int  _x,
int  _y 
)
void EEWidget::SetLocationZ ( int  _z)
protected
void EEWidget::SetModifySurFace ( SDL_Surface *  _ModifySurface)
protectedvirtual

Reimplemented in textBox.

bool EEWidget::SetRotation ( double  _Degrees)
bool EEWidget::SetScalingFactor ( double  _ScalingX,
double  _ScalingY 
)
bool EEWidget::SetScalingFactorX ( double  _ScalingX)
bool EEWidget::SetScalingFactorY ( double  _ScalingY)
SDL_Surface * EEWidget::SetSurface ( )
protectedvirtual
void EEWidget::SetType ( int  _type)
protected
void EEWidget::ShowOutLine ( )
void EEWidget::UnloadSurface ( )
virtual
void EEWidget::UnLoadTexture ( )
virtual

Reimplemented in Animation.

EEWidget * EEWidget::WasClicked ( int  _mouselocationX,
int  _mouselocationY 
)
virtual

Reimplemented in textBox, and Button.

bool EEWidget::WasLastSprocketClicked ( )

Friends And Related Function Documentation

friend class EpeeEngine
friend
friend class RenderList
friend

Member Data Documentation

bool EEWidget::m_bactive
protected
bool EEWidget::m_bblit
protected
bool EEWidget::m_bCurrentlySelected
protected
bool EEWidget::m_bDontMoveButton
protected
bool EEWidget::m_bDraw
protected
bool EEWidget::m_bShowSurfaceOutline
protected
SDL_Rect EEWidget::m_cBox
protected
GLuint EEWidget::m_GLTexture
protected
bool EEWidget::m_iAntiAliased
protected
int EEWidget::m_iCurrentPostion
protected
double EEWidget::m_iRotation
protected
double EEWidget::m_iScaleX
protected
double EEWidget::m_iScaleY
protected
int EEWidget::m_iSprocketType
protected
unsigned int EEWidget::m_iTextureH
protected
unsigned int EEWidget::m_iTextureW
protected
int EEWidget::m_iz
protected
SDL_Surface* EEWidget::m_pModifySurface
protected
SDL_Surface* EEWidget::m_porignalSurface
protected
std::string EEWidget::m_sName
protected

The documentation for this class was generated from the following files: