RtProgress
A realtime progress bar
Class hierarchy:
PtWidget --> PtBasic --> PtGauge --> RtProgress
For more information, see the diagram of the widget hierarchy.
PhAB icon:

Public header:
<photon/realtime/RtProgress.h>
Description:
The RtProgress widget draws a progress bar and (optionally) the corresponding value in front of it.

An RtProgress bar.
The bar can be either a single bar, growing continuously as the value is changed, or it can consist of a number of divisions of equal size.
New resources:
| Resource | C type | Pt type | Default |
|---|---|---|---|
| Rt_ARG_PROGRESS_BAR_COLOR | PgColor_t | Scalar | Pg_RED |
| Rt_ARG_PROGRESS_DIVISIONS | unsigned short | Scalar | 1 |
| Rt_ARG_PROGRESS_GAP | unsigned short | Scalar | 4 |
| Rt_ARG_PROGRESS_SPACING | unsigned short | Scalar | 0 |
Rt_ARG_PROGRESS_BAR_COLOR
| C type | Pt type | Default |
|---|---|---|
| PgColor_t | Scalar | Pg_RED |
The color of the progress bar.
Rt_ARG_PROGRESS_DIVISIONS
| C type | Pt type | Default |
|---|---|---|
| unsigned short | Scalar | 1 |
The number of divisions (1 means continuous).
Rt_ARG_PROGRESS_GAP
| C type | Pt type | Default |
|---|---|---|
| unsigned short | Scalar | 4 |
The gap (in pixels) between the progress bar and the text (if the text isn't on top of the bar).
Rt_ARG_PROGRESS_SPACING
| C type | Pt type | Default |
|---|---|---|
| unsigned short | Scalar | 0 |
The spacing (in pixels) between divisions (see Rt_ARG_PROGRESS_DIVISIONS).
Inherited resources:
If the widget modifies an inherited resource, the "Default override" column indicates the new value. This modification affects any subclasses of the widget.
