Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.UI.vxColourTheme Struct Reference

Public Member Functions

 vxColourTheme (Color NormalColour)
 
 vxColourTheme (Color normalColour, Color hoverColour)
 Initializes a new instance of the T:VerticesEngine.UI.Themes.vxColourTheme class.
 
 vxColourTheme (Color normalColour, Color hoverColour, Color selectedColour)
 Initializes a new instance of the T:Virtex.Lib.Iris.Gui.Theme.vxThemeColour class.
 
 vxColourTheme (Color normalColour, Color hoverColour, Color selectedColour, Color disabledColour)
 
void SetTheme (Color normalColour)
 
void SetTheme (Color normalColour, Color hoverColour)
 
void SetTheme (Color normalColour, Color hoverColour, Color selectedColour)
 
void SetTheme (Color NormalColour, Color HoverColour, Color SelectedColour, Color DisabledColour)
 
void SetColor (vxEnumGUIElementState newState)
 

Static Public Member Functions

static vxColourTheme GetDefault ()
 Initializes a new instance of the T:Virtex.Lib.Iris.Gui.Theme.vxThemeColour class with the default colours.
 

Public Attributes

Color NormalColour
 The Normal Colour.
 
Color HoverColour
 The Hover colour.
 
Color SelectedColour
 The selected colour.
 
Color DisabledColour
 The Color to draw when the element is Disabled.
 
vxEnumGUIElementState _state
 
float DisabledAlpha
 The disabled alpha.
 

Properties

vxEnumGUIElementState State [get, set]
 Gets or sets the element state.
 
Color Color [get]
 Gets the color given the current Element State.
 

Constructor & Destructor Documentation

◆ vxColourTheme() [1/2]

VerticesEngine.UI.vxColourTheme.vxColourTheme ( Color normalColour,
Color hoverColour )

Initializes a new instance of the T:VerticesEngine.UI.Themes.vxColourTheme class.

Parameters
normalColourNormal colour.
hoverColourHover colour.

◆ vxColourTheme() [2/2]

VerticesEngine.UI.vxColourTheme.vxColourTheme ( Color normalColour,
Color hoverColour,
Color selectedColour )

Initializes a new instance of the T:Virtex.Lib.Iris.Gui.Theme.vxThemeColour class.

Parameters
normalColourNormal.
hoverColourHover.
selectedColourSelected.

Property Documentation

◆ Color

Color VerticesEngine.UI.vxColourTheme.Color
get

Gets the color given the current Element State.

The color.

◆ State

vxEnumGUIElementState VerticesEngine.UI.vxColourTheme.State
getset

Gets or sets the element state.

The state.


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