GuiImageList Class Reference

#include <guiImageList.h>

Inheritance diagram for GuiImageList:

Inheritance graph
[legend]
List of all members.

Public Types

typedef GuiImageList::tag_TextureEntry TextureEntry
typedef GuiImageList::tag_TextureEntryPTextureEntry

Public Member Functions

 GuiImageList ()
 DECLARE_CONOBJECT (GuiImageList)
bool Clear ()
U32 Count ()
U32 Insert (const char *texturePath, GFXTextureProfile *Type=&GFXDefaultGUIProfile)
bool FreeTextureEntry (U32 Index)
bool FreeTextureEntry (PTextureEntry Entry)
GFXTexHandle GetTextureHandle (U32 Index)
GFXTexHandle GetTextureHandle (const char *TexturePath)
const char * GetTexturePath (U32 Index)
U32 IndexFromId (U32 Id)
U32 IndexFromPath (const char *Path)

Static Public Member Functions

static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Public Attributes

Vector< PTextureEntrymTextures

Protected Attributes

U32 mUniqueId

Private Types

typedef SimObject Parent

Classes

struct  tag_TextureEntry

Member Typedef Documentation

typedef SimObject GuiImageList::Parent [private]

Reimplemented from SimObject.


Constructor & Destructor Documentation

GuiImageList::GuiImageList (  ) 


Member Function Documentation

GuiImageList::DECLARE_CONOBJECT ( GuiImageList   ) 

static void GuiImageList::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from SimObject.

bool GuiImageList::Clear (  ) 

U32 GuiImageList::Count (  )  [inline]

U32 GuiImageList::Insert ( const char *  texturePath,
GFXTextureProfile Type = &GFXDefaultGUIProfile 
)

bool GuiImageList::FreeTextureEntry ( U32  Index  ) 

bool GuiImageList::FreeTextureEntry ( PTextureEntry  Entry  ) 

GFXTexHandle GuiImageList::GetTextureHandle ( U32  Index  ) 

GFXTexHandle GuiImageList::GetTextureHandle ( const char *  TexturePath  ) 

const char* GuiImageList::GetTexturePath ( U32  Index  ) 

U32 GuiImageList::IndexFromId ( U32  Id  ) 

U32 GuiImageList::IndexFromPath ( const char *  Path  ) 


Member Data Documentation