|
|
@@ -106,19 +106,7 @@ protected:
|
|
|
/// decrement arrow.
|
|
|
/// @return The new position of the bar.
|
|
|
virtual float OnLineDecrement() = 0;
|
|
|
- /// Called when the slider is incremented by one 'page', either by the page-up key or a mouse-click on the
|
|
|
- /// track below / right of the bar.
|
|
|
- /// @param[in] click_position The parametric position of the click along the track, or -1 if this was not generated by a mouse click.
|
|
|
- /// @return The new position of the bar.
|
|
|
- virtual float OnPageIncrement(float click_position) = 0;
|
|
|
- /// Called when the slider is incremented by one 'page', either by the page-down key or a mouse-click on the
|
|
|
- /// track above / left of the bar.
|
|
|
- /// @param[in] click_position The parametric position of the click along the track, or -1 if this was not generated by a mouse click.
|
|
|
- /// @return The new position of the bar.
|
|
|
- virtual float OnPageDecrement(float click_position) = 0;
|
|
|
|
|
|
-protected:
|
|
|
- ElementFormControl* parent;
|
|
|
private:
|
|
|
/// Determine the normalized bar position given an absolute position coordinate.
|
|
|
/// @param[in] absolute_position Absolute position along the axis determined by 'orientation'.
|
|
|
@@ -127,6 +115,8 @@ private:
|
|
|
|
|
|
void PositionBar();
|
|
|
|
|
|
+ ElementFormControl* parent;
|
|
|
+
|
|
|
Orientation orientation;
|
|
|
|
|
|
// The background track element, across which the bar slides.
|