Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtProgressNextSegment()
Get the next segment of a progress bar
Synopsis:
int PtProgressNextSegment( PtWidget_t *widget,
short *start,
short *end);
Description:
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).
Returns:
- 0
- Success.
- Pt_PROGRESS_NO_MORE_SEGMENTS
- No segment was found.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtProgress, PtProgressEntireSegment(), PtProgressFirstSegment(), PtProgressTextRect()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
