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
image Class Reference

#include <EEImage.h>

Inheritance diagram for image:
Inheritance graph
[legend]
Collaboration diagram for image:
Collaboration graph
[legend]

Public Member Functions

 image (const std::string &_FileNameImage, const std::string &_NameImageHere, int _x, int _y, int _z, bool _Transparency=false)
 
virtual SDL_Surface * LoadSurface ()
 
virtual void LoadTexture ()
 
std::string GetFileName ()
 
void SetClippingRect (int _x, int _y, int _w, int _h)
 
bool GetClip ()
 
int GetClippingX ()
 
int GetClippingY ()
 
int GetClippingW ()
 
int GetClippingH ()
 
void SetTransparency (bool _Transparency)
 
bool GetTransparency ()
 
- Public Member Functions inherited from EEWidget
 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 UnloadSurface ()
 
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

 image (const std::string &_FileNameImage, const std::string &_NameImageHere, int _x, int _y, int _z, int _type, bool _Transparency=false)
 
 image ()
 
 image (const std::string &_FileNameImage)
 
SDL_Rect * GetClippingRect ()
 
SDL_Rect * GetOrignalRect ()
 
- Protected Member Functions inherited from EEWidget
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

SDL_Rect ClipingRect
 
- Protected Attributes inherited from EEWidget
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
 

Constructor & Destructor Documentation

image::image ( const std::string &  _FileNameImage,
const std::string &  _NameImageHere,
int  _x,
int  _y,
int  _z,
bool  _Transparency = false 
)
image::image ( const std::string &  _FileNameImage,
const std::string &  _NameImageHere,
int  _x,
int  _y,
int  _z,
int  _type,
bool  _Transparency = false 
)
protected
image::image ( )
protected
image::image ( const std::string &  _FileNameImage)
protected

Member Function Documentation

bool image::GetClip ( )
int image::GetClippingH ( )
SDL_Rect * image::GetClippingRect ( )
protected
int image::GetClippingW ( )
int image::GetClippingX ( )
int image::GetClippingY ( )
std::string image::GetFileName ( )
SDL_Rect * image::GetOrignalRect ( )
protected
bool image::GetTransparency ( )
SDL_Surface * image::LoadSurface ( )
virtual

Reimplemented from EEWidget.

Reimplemented in Animation.

void image::LoadTexture ( )
virtual

Reimplemented from EEWidget.

Reimplemented in Animation.

void image::SetClippingRect ( int  _x,
int  _y,
int  _w,
int  _h 
)
void image::SetTransparency ( bool  _Transparency)

Friends And Related Function Documentation

friend class EpeeEngine
friend

Member Data Documentation

SDL_Rect image::ClipingRect
protected

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