class TextWidgetSource
Derived classes
Part of Widget UI system
All members, including inherited
Methods 20
proto native void SetTextExactSize(int size)set text exact size. Exact Text flag must be enabled. 0 equals original size.
Referenced by TutorialsMenu.DrawConnectingLines()
Referenced by ActionMenu.UpdateWidgets(), ActionTargetsCursor.SetActionWidget(), ActionTargetsCursor.SetControllerIcon(), and 306 more
Referenced by ServerBrowserEntry.UpdateColors()
proto native int GetOutlineSize()proto native int GetOutlineColor()proto native int GetShadowSize()proto native int GetShadowColor()proto native float GetShadowOpacity()proto native void SetItalic(bool italic)proto native bool GetItalic()proto native void SetBold(bool bold)proto native bool GetBold()Returns text size in pixels
proto void SetTextFormat(string text, void param1 = NULL, void param2 = NULL, void param3 = NULL, void param4 = NULL, void param5 = NULL, void param6 = NULL, void param7 = NULL, void param8 = NULL, void param9 = NULL)Referenced by DebugMonitor.SetFramerateText()
proto native float GetTextProportion()Get text proportion - ratio between button height and button text height in interval <0,1>
proto native void SetTextProportion(float val)Set text proportion - ratio between button height and button text height in interval <0,1>