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

Inheritance: FSO.Client.UI.Framework.UIElement
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
AllowDecimals bool

Private Properties

Свойство Type Description
CalculateButtonPosition Vector2
CalculateLayout UISliderLayout
OnThumbClick void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
CalculateMatrix ( ) : void

Private Methods

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

Method Details

AttachButtons() public méthode

public AttachButtons ( UIButton decrease, UIButton increase, int change ) : UISliderButtonHandler
decrease UIButton
increase UIButton
change int
Résultat UISliderButtonHandler

CalculateMatrix() protected méthode

protected CalculateMatrix ( ) : void
Résultat void

Draw() public méthode

public Draw ( UISpriteBatch batch ) : void
batch UISpriteBatch
Résultat void

SetSize() public méthode

public SetSize ( float width, float height ) : void
width float
height float
Résultat void

UISlider() public méthode

public UISlider ( ) : System
Résultat System

Update() public méthode

public Update ( UpdateState state ) : void
state UpdateState
Résultat void

Property Details

AllowDecimals public_oe property

public bool AllowDecimals
Résultat bool