OmegaEngine API  1.0.3
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

◆ Clone()

Element OmegaGUI.Render.Element.Clone ( )
inline

Clone an object

◆ Refresh()

void OmegaGUI.Render.Element.Refresh ( )
inline

Refresh this element

◆ SetFont()

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

Set the font

◆ SetTexture() [1/2]

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

Set the texture

◆ SetTexture() [2/2]

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

Set the texture


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