C# Class NewTOAPIA.UI.TrackSlider

Inheritance: ActiveArea, IPositionalValue
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
GetRange ( float &min, float &max ) : void
OnMouseMove ( MouseActivityArgs e ) : void
PositionChanged ( float newPosition, bool invoke ) : void
SetPosition ( float newValue, bool invoke ) : void
SetPositionBy ( int mouseX, int mouseY, bool invoke ) : void
SetRange ( float min, float max ) : void
SetValue ( float newValue, bool invoke ) : void
SetValueBy ( int mouseX, int mouseY, bool invoke ) : void
TrackSlider ( string name, IGraphic track, IGraphic thumb, Orientation orient, float min, float max, float initialValue ) : System
ValueChanged ( float newValue, bool invoke ) : void

Method Details

GetRange() public method

public GetRange ( float &min, float &max ) : void
min float
max float
return void

OnMouseMove() public method

public OnMouseMove ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

PositionChanged() public method

public PositionChanged ( float newPosition, bool invoke ) : void
newPosition float
invoke bool
return void

SetPosition() public method

public SetPosition ( float newValue, bool invoke ) : void
newValue float
invoke bool
return void

SetPositionBy() public method

public SetPositionBy ( int mouseX, int mouseY, bool invoke ) : void
mouseX int
mouseY int
invoke bool
return void

SetRange() public method

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

SetValue() public method

public SetValue ( float newValue, bool invoke ) : void
newValue float
invoke bool
return void

SetValueBy() public method

public SetValueBy ( int mouseX, int mouseY, bool invoke ) : void
mouseX int
mouseY int
invoke bool
return void

TrackSlider() public method

public TrackSlider ( string name, IGraphic track, IGraphic thumb, Orientation orient, float min, float max, float initialValue ) : System
name string
track IGraphic
thumb IGraphic
orient Orientation
min float
max float
initialValue float
return System

ValueChanged() public method

public ValueChanged ( float newValue, bool invoke ) : void
newValue float
invoke bool
return void