C# Class FSO.Client.UI.Controls.UISlider

Inheritance: FSO.Client.UI.Framework.UIElement
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AllowDecimals bool

Private Properties

Property Type Description
CalculateButtonPosition Vector2
CalculateLayout UISliderLayout
OnThumbClick void

Public Methods

Method Description
AttachButtons ( UIButton decrease, UIButton increase, int change ) : UISliderButtonHandler
Draw ( UISpriteBatch batch ) : void
SetSize ( float width, float height ) : void

UISlider ( ) : System
Update ( UpdateState state ) : void

Protected Methods

Method Description
CalculateMatrix ( ) : void

Private Methods

Method Description
CalculateButtonPosition ( UISliderLayout layout ) : Vector2
CalculateLayout ( ) : UISliderLayout
OnThumbClick ( UIMouseEventType type, UpdateState state ) : void

Method Details

AttachButtons() public method

public AttachButtons ( UIButton decrease, UIButton increase, int change ) : UISliderButtonHandler
decrease UIButton
increase UIButton
change int
return UISliderButtonHandler

CalculateMatrix() protected method

protected CalculateMatrix ( ) : void
return void

Draw() public method

public Draw ( UISpriteBatch batch ) : void
batch UISpriteBatch
return void

SetSize() public method

public SetSize ( float width, float height ) : void
width float
height float
return void

UISlider() public method

public UISlider ( ) : System
return System

Update() public method

public Update ( UpdateState state ) : void
state UpdateState
return void

Property Details

AllowDecimals public_oe property

public bool AllowDecimals
return bool