Property | Type | Description | |
---|---|---|---|
OnValueChanged | Action |
Property | Type | Description | |
---|---|---|---|
Draw | void | ||
UpdateSlider | void |
Method | Description | |
---|---|---|
OnLeftClick ( Vector2 position, ClickState state, |
||
OnLeftMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
OnNoMove ( ScreenPoint currentPosition, |
||
OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
SliderItem ( IScreen screen, DisplayLayer drawOrder, string text, int max, int min, int value ) : System |
Erzeugt eine neue Instanz eines SliderItem-Objekts und initialisiert diese mit dem zugehörigen IGameScreen-Objekt. Zudem ist die Angabe der Zeichenreihenfolge, einem minimalen einstellbaren Wert, einem maximalen einstellbaren Wert und einem Standardwert Pflicht.
|
Method | Description | |
---|---|---|
Draw ( |
||
UpdateSlider ( ScreenPoint position, |
public OnLeftClick ( Vector2 position, ClickState state, |
||
position | Vector2 | |
state | ClickState | |
time | ||
return | void |
public OnLeftMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public OnMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public OnNoMove ( ScreenPoint currentPosition, |
||
currentPosition | ScreenPoint | |
time | ||
return | void |
public OnRightMove ( ScreenPoint previousPosition, ScreenPoint currentPosition, ScreenPoint move, |
||
previousPosition | ScreenPoint | |
currentPosition | ScreenPoint | |
move | ScreenPoint | |
time | ||
return | void |
public SliderItem ( IScreen screen, DisplayLayer drawOrder, string text, int max, int min, int value ) : System | ||
screen | IScreen | |
drawOrder | DisplayLayer | |
text | string | |
max | int | |
min | int | |
value | int | |
return | System |