OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | List of all members
OmegaGUI.Render.Element Class Reference

Contains all the display tweakables for a control More...

Inheritance diagram for OmegaGUI.Render.Element:

Public Member Functions

void SetTexture (uint tex, Rectangle texRect, Color4 defaultTextureColor)
 Set the texture More...
 
void SetTexture (uint tex, Rectangle texRect)
 Set the texture More...
 
void SetFont (uint font, Color4 defaultFontColor, DrawTextFormat format)
 Set the font More...
 
void Refresh ()
 Refresh this element More...
 
Element Clone ()
 Clone an object More...
 

Public Attributes

uint TextureIndex
 
uint FontIndex
 
DrawTextFormat textFormat
 
Rectangle textureRect
 
BlendColor TextureColor
 
BlendColor FontColor
 

Detailed Description

Contains all the display tweakables for a control

Member Function Documentation

Element OmegaGUI.Render.Element.Clone ( )
inline

Clone an object

void OmegaGUI.Render.Element.Refresh ( )
inline

Refresh this element

void OmegaGUI.Render.Element.SetFont ( uint  font,
Color4  defaultFontColor,
DrawTextFormat  format 
)
inline

Set the font

void OmegaGUI.Render.Element.SetTexture ( uint  tex,
Rectangle  texRect,
Color4  defaultTextureColor 
)
inline

Set the texture

void OmegaGUI.Render.Element.SetTexture ( uint  tex,
Rectangle  texRect 
)
inline

Set the texture


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