C# Class FSO.Client.Utils.UIUtils

Mostrar archivo Open project: RHY3756547/FreeSO

Public Methods

Method Description
GiveTooltip ( UIElement target ) : UITooltipHandler
MakeDraggable ( UIElement mouseTarget, UIElement dragControl ) : UIDragHandler
WordWrap ( string text, int width, TextStyle style, Vector2 scale ) : UIWordWrapOutput

Private Methods

Method Description
JoinWordList ( List input ) : string

Method Details

GiveTooltip() public static method

public static GiveTooltip ( UIElement target ) : UITooltipHandler
target FSO.Client.UI.Framework.UIElement
return UITooltipHandler

MakeDraggable() public static method

public static MakeDraggable ( UIElement mouseTarget, UIElement dragControl ) : UIDragHandler
mouseTarget FSO.Client.UI.Framework.UIElement
dragControl FSO.Client.UI.Framework.UIElement
return UIDragHandler

WordWrap() public static method

public static WordWrap ( string text, int width, TextStyle style, Vector2 scale ) : UIWordWrapOutput
text string
width int
style FSO.Client.UI.Framework.TextStyle
scale Microsoft.Xna.Framework.Vector2
return UIWordWrapOutput