TriEngine
v0.0.16
General-purpose engine in C#/OpenGL
|
A simple label to display text on the screen. More...
Public Member Functions | |
virtual void | SetFont (Font font) |
Sets the font that this label uses. More... | |
override void | Update () |
Updates the object. More... | |
override void | Draw () |
Draw the object to screen. More... | |
Public Member Functions inherited from TriDevs.TriEngine.UI.Control | |
virtual void | Enable () |
Enables the control. More... | |
virtual void | Disable () |
Disables the control. More... | |
virtual void | Show () |
Shows the control. More... | |
virtual void | Hide () |
Hides the control. More... | |
Protected Member Functions | |
virtual void | UpdateTextObject () |
Protected Member Functions inherited from TriDevs.TriEngine.UI.Control | |
virtual void | OnClicked () |
virtual void | Draw (Point< int > position) |
Properties | |
override string | Text [get, set] |
override Point< int > | Position [get, set] |
virtual QFontAlignment | Alignment [get, set] |
Gets or sets the QFontAlignment of this label's text. More... | |
Properties inherited from TriDevs.TriEngine.UI.Control | |
virtual bool | Enabled [get, set] |
virtual bool | Visible [get, set] |
virtual Color | Color [get, set] |
virtual Point< int > | Position [get, set] |
virtual Point< int > | Size [get, set] |
virtual Rectangle | Rectangle [get, set] |
virtual string | Text [get, set] |
Properties inherited from TriDevs.TriEngine.UI.IControl | |
bool | Enabled [get, set] |
Gets or sets a value indicating whether this control can be interacted with. More... | |
bool | Visible [get, set] |
Gets or sets a value indicating whether this control should be drawn to the screen. More... | |
Color | Color [get, set] |
The color of this control. More... | |
Point< int > | Position [get, set] |
The position of this control, in pixel coordinates. More... | |
Point< int > | Size [get, set] |
Gets or sets the size of this control, in pixels. More... | |
Rectangle | Rectangle [get, set] |
Gets the rectangular area on the screen that this control is occupying. More... | |
string | Text [get, set] |
Gets or sets the text associated with this control. More... | |
Additional Inherited Members | |
Events inherited from TriDevs.TriEngine.UI.Control | |
ControlClickedEventHandler | Clicked |
Raised when this control is clicked on by the user. More... | |
A simple label to display text on the screen.
|
virtual |
|
virtual |
Sets the font that this label uses.
font | The new font instance to use. |
|
virtual |
|
protectedvirtual |
|
getset |
Gets or sets the QFontAlignment of this label's text.
|
getset |
|
getset |