#include <ISliderControlData.h>
|
| enum | { kDefaultIID = IID_ISLIDERCONTROLDATA } |
| |
This is a data interface for a slider widget.
- See Also
- IObserver
- widgetid.h
| virtual PMReal ISliderControlData::GetMaxValue | ( | | ) | const |
| pure virtual |
Returns the current maximum slider value.
- Returns
- the current maximum slider value.
| virtual PMReal ISliderControlData::GetMinValue | ( | | ) | const |
| pure virtual |
Returns the current minimum slider value.
- Returns
- the current minimum slider value.
| virtual PMReal ISliderControlData::GetValue | ( | | ) | const |
| pure virtual |
Returns the current slider value.
- Returns
- the current slider value.
| virtual void ISliderControlData::SetMaxValue | ( | const PMReal & | value, | | | bool16 | invalidate = kTrue, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Sets the new slider maximum value.
- Parameters
| value | the new maximum value to set. |
| invalidate | specifies whether the slider should be redrawn. |
| notifyOfChange | specifies whether observers on the control data should be notified of the change. If so, the message broadcast is kRealChangeStateMessage and the protocol is IID_ISLIDERCONTROLDATA. |
| virtual void ISliderControlData::SetMinValue | ( | const PMReal & | value, | | | bool16 | invalidate = kTrue, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Sets the new slider minimum value.
- Parameters
| value | the new minimum value to set. |
| invalidate | specifies whether the slider should be redrawn. |
| notifyOfChange | specifies whether observers on the control data should be notified of the change. If so, the message broadcast is kRealChangeStateMessage and the protocol is IID_ISLIDERCONTROLDATA. |
| virtual void ISliderControlData::SetValue | ( | const PMReal & | value, | | | bool16 | invalidate = kTrue, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Sets slider value.
- Parameters
| value | the value to set. |
| invalidate | specifies whether the slider should be redrawn. |
| notifyOfChange | specifies whether observers on the control data should be notified of the change. If so, the message broadcast is kRealChangeStateMessage and the protocol is IID_ISLIDERCONTROLDATA. |