GearBlocks
The GearBlocks Lua scripting API
List of all members
SmashHammer.UI.LabelledInputField Class Reference

A labelled input field UI element. More...

Inheritance diagram for SmashHammer.UI.LabelledInputField:
SmashHammer.UI.Element SmashHammer.UI.IInputField SmashHammer.UI.ILabel SmashHammer.UI.IElement SmashHammer.UI.ISizeable SmashHammer.UI.IRotatable

Additional Inherited Members

- Public Types inherited from SmashHammer.UI.ISizeable
enum  Align : byte {
  LeftEdge , RightEdge , TopEdge , BottomEdge ,
  HorizEdges , VertEdges , HorizCentre , VertCentre
}
 UI element alignment mode. More...
 
void SetAlignment (Align align, float paramA, float paramB)
 Set the element's alignment.
 
void SetRotation (float angle)
 Set the element's rotation.
 
- Properties inherited from SmashHammer.UI.Element
virtual bool IsVisible [get, set]
 Is the element visible?
 
- Properties inherited from SmashHammer.UI.IElement
bool IsVisible [get, set]
 Is the element visible?
 
bool IsInteractable [get, set]
 Is the element interactable?
 
bool IsTargetable [get, set]
 Is the element targetable?
 
- Properties inherited from SmashHammer.UI.IInputField
string Value [get, set]
 The input field value.
 
- Properties inherited from SmashHammer.UI.ILabel
string Text [get, set]
 The label text.
 
Color32Proxy Colour [get, set]
 The text colour.
 
FontStyle FontStyle [get, set]
 The font style.
 
int FontSize [get, set]
 The font size.
 
float LineSpacing [get, set]
 The line spacing.
 
TextAnchor Alignment [get, set]
 The text alignment.
 
float PreferredWidth [get]
 The preferred width.
 
float PreferredHeight [get]
 The preferred height.
 
- Events inherited from SmashHammer.UI.IInputField
ValueChangedHandler OnChanged
 Event that is raised when the input field text is changed.
 
ValueChangedHandler OnEndEdit
 Event that is raised when editing the input field text has ended.
 

Detailed Description

A labelled input field UI element.