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

Label text control More...

Inheritance diagram for OmegaGUI.Render.Label:
OmegaGUI.Render.Control OmegaGUI.Render.Button OmegaGUI.Render.CheckBox OmegaGUI.Render.DropdownList OmegaGUI.Render.RadioButton

Public Member Functions

 Label (Dialog parent)
 Create a new instance of a static text control More...
 
override void Render (Device device, float elapsedTime)
 Render this control More...
 
string GetTextCopy ()
 Return a copy of the string More...
 
void SetText (string newText)
 Sets the updated text for this control More...
 
- Public Member Functions inherited from OmegaGUI.Render.Control
override string ToString ()
 
virtual void OnInitialize ()
 Initialize the control More...
 
virtual bool MsgProc (IntPtr hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
 Message Handler More...
 
virtual bool HandleKeyboard (WindowMessage msg, IntPtr wParam, IntPtr lParam)
 Handle the keyboard data More...
 
virtual bool HandleMouse (WindowMessage msg, Point pt, IntPtr wParam, IntPtr lParam)
 Handle the mouse data More...
 
virtual void OnFocusIn ()
 Called when control gets focus More...
 
virtual void OnFocusOut ()
 Called when control loses focus More...
 
virtual void OnMouseEnter ()
 Called when mouse goes over the control More...
 
virtual void OnMouseExit ()
 Called when mouse leaves the control More...
 
virtual void OnHotKey ()
 Called when the control's hotkey is hit More...
 
virtual bool ContainsPoint (Point pt)
 Does the control contain this point More...
 
virtual void SetLocation (int x, int y)
 Called to set control's location More...
 
virtual void SetSize (int w, int h)
 Called to set control's size More...
 
virtual void Refresh ()
 Refreshes the control More...
 

Protected Attributes

string textData
 
- Protected Attributes inherited from OmegaGUI.Render.Control
Dialog parentDialog
 
object localUserData
 
bool visible = true
 
bool isMouseOver
 
bool hasFocus
 
int controlId
 
ControlType ctrlType
 
Keys ctrlHotKey
 
bool enabled = true
 
Rectangle boundingBox
 
int controlX
 
List< ElementelementList = new List<Element>()
 

Properties

TextAlign TextAlign [get, set]
 
- Properties inherited from OmegaGUI.Render.Control
object UserData [get, set]
 User specified data More...
 
virtual bool IsEnabled [get, set]
 Is the control enabled More...
 
virtual bool IsVisible [get, set]
 Is the control visible More...
 
virtual int ID [get, set]
 Unique ID of the control More...
 
virtual Keys Hotkey [get, set]
 The controls hotkey More...
 
Element this[uint elementIndex] [get, set]
 Index for the elements this control has access to More...
 

Additional Inherited Members

- Public Attributes inherited from OmegaGUI.Render.Control
uint index
 
bool IsDefault
 
Dialog Parent => parentDialog
 The parent dialog of this control More...
 
virtual bool CanHaveFocus => false
 Can the control have focus More...
 
virtual ControlType ControlType => ctrlType
 Type of the control More...
 
- Protected Member Functions inherited from OmegaGUI.Render.Control
 Control (Dialog parent)
 Create a new instance of a control More...
 
virtual void UpdateRectangles ()
 Updates the rectangles More...
 
- Events inherited from OmegaGUI.Render.Control
EventHandler MouseEnter
 

Detailed Description

Label text control

Constructor & Destructor Documentation

OmegaGUI.Render.Label.Label ( Dialog  parent)
inline

Create a new instance of a static text control

Member Function Documentation

string OmegaGUI.Render.Label.GetTextCopy ( )
inline

Return a copy of the string

override void OmegaGUI.Render.Label.Render ( Device  device,
float  elapsedTime 
)
inlinevirtual

Render this control

Implements OmegaGUI.Render.Control.

void OmegaGUI.Render.Label.SetText ( string  newText)
inline

Sets the updated text for this control


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