| void CBCGPCircularGaugeImpl::AddSubGauge | ( | CBCGPGaugeImpl * | pGauge, |
| BCGP_SUB_GAUGE_POS | pos, | ||
| const CBCGPSize & | size = CBCGPSize(), |
||
| const CBCGPPoint & | ptOffset = CBCGPPoint(), |
||
| BOOL | bAutoDestroy = TRUE |
||
| ) |
Adds a sub-gauge.
pos can be one of the following enumerated values:
| pGauge | A pointer to an existing subgauge. |
| pos | Sub-gauge position. |
| size | Sub-gauge size. If size is empty, the default (gauge-specific size) will be used. |
| ptOffset | If pos is BCGP_SUB_GAUGE_NONE, ptOffset specifies offset from the top-left corner; otherwise, it specifies offset from the given position |
| bAutoDestroy | TRUE if sub-gauge should be automatically destroyed by parent; FALSE - otherwise |