int CBCGPGaugeImpl::AddLevelBar | ( | const CBCGPBrush & | brFill, |
const CBCGPBrush & | brFrame, | ||
const CBCGPBrush & | brFillValue, | ||
int | nScale = 0 , |
||
double | dblWidth = 0. , |
||
double | dblOffsetFromFrame = 0. , |
||
CBCGPGaugeLevelBarObject::BCGP_GAUGE_LEVEL_OBJECT_STYLE | style = CBCGPGaugeLevelBarObject::BCGP_GAUGE_LEVEL_OBJECT_RECT , |
||
BOOL | bRedraw = FALSE |
||
) |
Adds a new level bar to a gauge.
Call this method to add a new level bar to a gauge.
brFill | Level bar background brush (empty area). |
brFrame | Level bar frame brush. |
brFillValue | Level bar background brush (value area). |
nScale | Index of scale to add a new level bar to. |
dblWidth | The width (in pixels). |
dblOffsetFromFrame | The offset from frame (in pixels). |
style | Level bar style. |
bRedraw | TRUE - redraw the gauge. |