This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the next segment of a progress bar
int PtProgressNextSegment( PtWidget_t *widget, short *start, short *end);
This function gets the coordinates (x for a horizontal bar, y for a vertical one) of the next segment of the PtProgress pointed to by widget.
The coordinates are stored in the space pointed to by start and end, taking into account whether or not the progress bar is inverted (i.e. the starting coordinate is always less than or equal to the end coordinate).
You must have called PtProgressFirstSegment() before calling this function. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtProgress, PtProgressEntireSegment(), PtProgressFirstSegment(), PtProgressTextRect()