C# Class XnaGUILib.XGHSlider

Inheritance: XGControl
显示文件 Open project: GalacticSoft/Azmyth Class Usage Examples

Protected Properties

Property Type Description
_max float
_min float
_scale float
_value float

Public Methods

Method Description
Draw ( float frameTime ) : void
SetRange ( float value, float min, float max ) : void
Update ( GameTime gameTime ) : void
XGHSlider ( Rectangle rect, float value ) : System
XGHSlider ( Rectangle rect, float value, float scale ) : System

Method Details

Draw() public method

public Draw ( float frameTime ) : void
frameTime float
return void

SetRange() public method

public SetRange ( float value, float min, float max ) : void
value float
min float
max float
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

XGHSlider() public method

public XGHSlider ( Rectangle rect, float value ) : System
rect Microsoft.Xna.Framework.Rectangle
value float
return System

XGHSlider() public method

public XGHSlider ( Rectangle rect, float value, float scale ) : System
rect Microsoft.Xna.Framework.Rectangle
value float
scale float
return System

Property Details

_max protected_oe property

protected float _max
return float

_min protected_oe property

protected float _min
return float

_scale protected_oe property

protected float _scale
return float

_value protected_oe property

protected float _value
return float