Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Public Member Functions

 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.

Definition at line 77 of file CGUISprite.h.

Constructor & Destructor Documentation

SGUIImage::SGUIImage ( )
inline

Definition at line 79 of file CGUISprite.h.

Member Data Documentation

CColor SGUIImage::m_BackColor

Definition at line 126 of file CGUISprite.h.

bool SGUIImage::m_Border

Definition at line 130 of file CGUISprite.h.

CColor SGUIImage::m_BorderColor

Definition at line 127 of file CGUISprite.h.

CSize SGUIImage::m_CellSize

Definition at line 103 of file CGUISprite.h.

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.

Definition at line 137 of file CGUISprite.h.

SGUIImageEffects* SGUIImage::m_Effects

Definition at line 123 of file CGUISprite.h.

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.

Definition at line 109 of file CGUISprite.h.

bool SGUIImage::m_RoundCoordinates

If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering.

Definition at line 115 of file CGUISprite.h.

CClientArea SGUIImage::m_Size

Definition at line 89 of file CGUISprite.h.

VfsPath SGUIImage::m_TextureName

Definition at line 86 of file CGUISprite.h.

CRect SGUIImage::m_TexturePlacementInFile

Definition at line 97 of file CGUISprite.h.

CClientArea SGUIImage::m_TextureSize

Definition at line 92 of file CGUISprite.h.

GLint SGUIImage::m_WrapMode

Texture wrapping mode (GL_REPEAT, GL_CLAMP_TO_EDGE, etc)

Definition at line 120 of file CGUISprite.h.


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