Pyrogenesis
trunk
|
A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite. More...
#include <CGUISprite.h>
Public Member Functions | |
NONCOPYABLE (SGUIImage) | |
SGUIImage () | |
~SGUIImage () | |
Public Attributes | |
VfsPath | m_TextureName |
CClientArea | m_Size |
CClientArea | m_TextureSize |
CRect | m_TexturePlacementInFile |
CSize | m_CellSize |
float | m_FixedHAspectRatio |
If non-zero, then the image's width will be adjusted when rendering so that the width:height ratio equals this value. More... | |
bool | m_RoundCoordinates |
If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering. More... | |
GLint | m_WrapMode |
Texture wrapping mode (GL_REPEAT, GL_CLAMP_TO_EDGE, etc) More... | |
SGUIImageEffects * | m_Effects |
CColor | m_BackColor |
CColor | m_BorderColor |
bool | m_Border |
float | m_DeltaZ |
Z value modification of the image. More... | |
A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite.
|
inline |
|
inline |
SGUIImage::NONCOPYABLE | ( | SGUIImage | ) |
CColor SGUIImage::m_BackColor |
bool SGUIImage::m_Border |
CColor SGUIImage::m_BorderColor |
CSize SGUIImage::m_CellSize |
float SGUIImage::m_DeltaZ |
Z value modification of the image.
Inputted in XML as x-level, although it just an easier and safer way of declaring delta-z.
SGUIImageEffects* SGUIImage::m_Effects |
float SGUIImage::m_FixedHAspectRatio |
If non-zero, then the image's width will be adjusted when rendering so that the width:height ratio equals this value.
bool SGUIImage::m_RoundCoordinates |
If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering.
CClientArea SGUIImage::m_Size |
VfsPath SGUIImage::m_TextureName |
CRect SGUIImage::m_TexturePlacementInFile |
CClientArea SGUIImage::m_TextureSize |
GLint SGUIImage::m_WrapMode |
Texture wrapping mode (GL_REPEAT, GL_CLAMP_TO_EDGE, etc)