Functions | |
StatusInt | mdlDialog_scrollBarSetRange (RawItemHdr *sbarP, double sliderSize, int minValue, int maxValue, int incAmount, int pageIncAmount) |
Sets the range information associated with the Scroll Bar item specified by the sbarP parameter. More... | |
StatusInt | mdlDialog_scrollBarSetRangeRedraw (RawItemHdr *sbarP, double sliderSize, int minValue, int maxValue, int incAmount, int pageIncAmount, bool redraw) |
Sets the range information associated with the Scroll Bar item specified by the sbarP parameter. More... | |
StatusInt | mdlDialog_scrollBarGetInfo (long *minValueP, long *maxValueP, long *incAmountP, long *pageIncAmountP, double *sliderSizeP, bool *isVerticalP, RawItemHdr *sbarP) |
Gets information on Scroll Bar items. More... | |
StatusInt | mdlDialog_scrollBarSetInfo (long *minValueP, long *maxValueP, long *incAmountP, long *pageIncAmountP, double *sliderSizeP, bool *isVerticalP, bool redraw, RawItemHdr *sbarP) |
Sets information on Scroll Bar items. More... | |
StatusInt mdlDialog_scrollBarGetInfo | ( | long * | minValueP, |
long * | maxValueP, | ||
long * | incAmountP, | ||
long * | pageIncAmountP, | ||
double * | sliderSizeP, | ||
bool * | isVerticalP, | ||
RawItemHdr * | sbarP | ||
) |
Gets information on Scroll Bar items.
For each of the pointer variables below except sbarP, NULL indicates the information is not desired.
[out] | minValueP | points to a variable indicating the minimum possible value of the variable associated with the Scroll Bar. |
[out] | maxValueP | points to a variable indicating the maximum possible value of the variable associated with the Scroll Bar. |
[out] | incAmountP | points to a variable indicating the amount by which to increase or decrease the associated variable when the user clicks on the arrows in the Scroll Bar to single-step. |
[out] | pageIncAmountP | points to a variable indicating the amount by which to increase or decrease the associated variable when the user clicks on the areas between the slider and the arrows in the Scroll Bar. |
[out] | sliderSizeP | points to a variable indicating the size of the slider to be displayed in the Scroll Bar. Values between 0 and 1 are valid. The slider is never smaller than a square inside the Scroll Bar. |
[out] | isVerticalP | If isVerticalP is true, the Scroll Bar is displayed vertically. Otherwise, it is horizontal. |
[in] | sbarP | points to the RawItemHdr of the Scroll Bar for which to get or set information. |
StatusInt mdlDialog_scrollBarSetInfo | ( | long * | minValueP, |
long * | maxValueP, | ||
long * | incAmountP, | ||
long * | pageIncAmountP, | ||
double * | sliderSizeP, | ||
bool * | isVerticalP, | ||
bool | redraw, | ||
RawItemHdr * | sbarP | ||
) |
Sets information on Scroll Bar items.
For each of the pointer variables below except sbarP, NULL indicates the Scroll Bar information is not to be changed.
[in] | minValueP | points to a variable indicating the minimum possible value of the variable associated with the Scroll Bar. |
[in] | maxValueP | points to a variable indicating the maximum possible value of the variable associated with the Scroll Bar. |
[in] | incAmountP | points to a variable indicating the amount by which to increase or decrease the associated variable when the user clicks on the arrows in the Scroll Bar to single-step. |
[in] | pageIncAmountP | points to a variable indicating the amount by which to increase or decrease the associated variable when the user clicks on the areas between the slider and the arrows in the Scroll Bar. |
[in] | sliderSizeP | points to a variable indicating the size of the slider to be displayed in the Scroll Bar. Values between 0 and 1 are valid. The slider is never smaller than a square inside the Scroll Bar. |
[in] | isVerticalP | If isVerticalP is true, the Scroll Bar is displayed vertically. Otherwise, it is horizontal. |
[in] | redraw | If redraw is true, the Scroll Bar is redrawn after mdlDialog_scrollBarSetInfo is finished. |
[in] | sbarP | points to the RawItemHdr of the Scroll Bar for which to get or set information. |
StatusInt mdlDialog_scrollBarSetRange | ( | RawItemHdr * | sbarP, |
double | sliderSize, | ||
int | minValue, | ||
int | maxValue, | ||
int | incAmount, | ||
int | pageIncAmount | ||
) |
Sets the range information associated with the Scroll Bar item specified by the sbarP parameter.
[in] | sbarP | Scroll Bar item |
[in] | sliderSize | relative size of slider |
[in] | minValue | min value of Scroll Bar |
[in] | maxValue | max value of Scroll Bar |
[in] | incAmount | arrow click scroll amount |
[in] | pageIncAmount | page scroll amount |
StatusInt mdlDialog_scrollBarSetRangeRedraw | ( | RawItemHdr * | sbarP, |
double | sliderSize, | ||
int | minValue, | ||
int | maxValue, | ||
int | incAmount, | ||
int | pageIncAmount, | ||
bool | redraw | ||
) |
Sets the range information associated with the Scroll Bar item specified by the sbarP parameter.
[in] | sbarP | Scroll Bar item |
[in] | sliderSize | relative size of slider |
[in] | minValue | min value of Scroll Bar |
[in] | maxValue | max value of Scroll Bar |
[in] | incAmount | arrow click of scroll amount |
[in] | pageIncAmount | page scroll amount |
[in] | redraw | true means redraw |