Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
SGUIImage Struct Reference

A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite. More...

#include <CGUISprite.h>

Collaboration diagram for SGUIImage:
Collaboration graph
[legend]

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...
 
SGUIImageEffectsm_Effects
 
CColor m_BackColor
 
CColor m_BorderColor
 
bool m_Border
 
float m_DeltaZ
 Z value modification of the image. More...
 

Detailed Description

A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite.

Constructor & Destructor Documentation

SGUIImage::SGUIImage ( )
inline
SGUIImage::~SGUIImage ( )
inline

Member Function Documentation

SGUIImage::NONCOPYABLE ( SGUIImage  )

Member Data Documentation

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)


The documentation for this struct was generated from the following file: