37 #ifndef INCLUDED_CGUISPRITE
38 #define INCLUDED_CGUISPRITE
179 void Draw(
CRect Size,
int CellID, std::map<CStr, CGUISprite> &Sprites,
float Z)
const;
Made to represent a screen size, should in philosophy be made of unsigned ints, but for the sake of c...
float m_FixedHAspectRatio
If non-zero, then the image's width will be adjusted when rendering so that the width:height ratio eq...
bool m_RoundCoordinates
If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering.
float m_DeltaZ
Z value modification of the image.
std::vector< SGUIImage > m_Images
List of images.
void AddImage(const SGUIImage &image)
Adds an image to the sprite collage.
SGUIImageEffects * m_Effects
CRect m_TexturePlacementInFile
A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprit...
The GUI sprite, is actually several real sprites (images) like a collage.
CGUISpriteInstance & operator=(const CStr &SpriteName)
void Draw(CRect Size, int CellID, std::map< CStr, CGUISprite > &Sprites, float Z) const
CClientArea m_TextureSize
GLint m_WrapMode
Texture wrapping mode (GL_REPEAT, GL_CLAMP_TO_EDGE, etc)
Rectangle class used for screen rectangles.
GUIRenderer::DrawCalls m_DrawCallCache
Client Area is a rectangle relative to a parent rectangle.