Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 8
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).
- 0
- Success.
- Pt_PROGRESS_NO_MORE_SEGMENTS
- No segment was found.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtProgress,
PtProgressEntireSegment(),
PtProgressFirstSegment(),
PtProgressTextRect()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 116
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptprogressnextsegment.html on line 116