BCGControlBar Pro for MFC
CBCGPLinearGaugeImpl

Detailed Description

This gauge may have several scales, several pointers on different scales, customizable tick marks and colored ranges. Also you can customize colors of different elements.

The orientation of a linear gauge may be either vertical or horizontal.

+ Inheritance diagram for CBCGPLinearGaugeImpl:

Public Member Functions

 AddPointerAdds a new pointer.
 
 AddScaleAdds a new scale.
 
 GetColorsReturns a linear gauge colors (color theme).
 
 GetPointersCountReturns the number of all gauge pointers.
 
 GetTextFormatReturns current text format of gauge labels.
 
 IsVerticalOrientationTells whether a linear gauge is vertical, or horizontal.
 
 ModifyPointerModifies the pointer appearance.
 
 OnDrawPointerCalled to draw a pointer.
 
 OnDrawScaleCalled to draw a scale.
 
 OnDrawTickMarkCalled to draw tick mark.
 
 RemovePointerRemoves a pointer by index.
 
 SetColorsApplies one of predefined color themes.
 
 SetColorsApplies a custom color theme to the gauge.
 
 SetTextFormatSets text format for gauge labels.
 
 SetValueSets a gauge value.
 
 SetVerticalOrientationChanges gauge orientation from vertical to horizontal and back.
 
 ValueToPointGiven a gauge value returns a point in client coordinates.
 
- Public Member Functions inherited from CBCGPGaugeImpl
 AddColoredRangeAdds a new colored range to a gauge.
 
 AddColoredRangeAdds a new colored range to a gauge.
 
 AddLevelBarAdds a new level bar to a gauge.
 
 AddLevelBarAdds a new level bar to a gauge.
 
 GetColoredRangeReturns a colored range for a scale.
 
 GetFrameSizeGets a gauge frame size (in pixels)
 
 GetLevelBarReturns a level bar for a scale.
 
 GetLevelBarsCountGets level bars count.
 
 GetScaleReturns a scale for a gauge.
 
 RemoveAllColoredRangesRemoves all colored ranges.
 
 RemoveAllLevelBarsRemoves all level bars.
 
 RemoveAllScalesRemoves scales.
 
 RemoveLevelBarRemoves the level bar.
 
 RemoveScaleRemoves a scale.
 
 SetFrameSizeSets a gauge frame size (in pixels).
 
 SetScaleOffsetFromFrameSets the scale offset from the gauge frame.
 
 SetTickMarkStyleSpecifies the gauge tick mark style.
 
- Public Member Functions inherited from CBCGPBaseVisualObject
 CBCGPBaseVisualObjectConstructor.
 
 CBCGPBaseVisualObjectCopy constructor.
 
 CopyToClipboardCopies visual object to the Clipboard.
 
 EnableImageCacheEnables or disables visual object image cache.
 
 ExportToBitmapExports the visual object to bitmap.
 
 ExportToFileExports the visual object to a file (BMP or PNG).
 
 ExportToImageExports the visual object to an image.
 
 GetDataGets an internal data object.
 
 GetDataAnimationTypeGets data animation type.
 
 GetDataCountReturns a number of data objects.
 
 GetEditFlagsGets editing flags.
 
 GetIDGets the object identifier.
 
 GetNameGets the object name.
 
 GetParentContainerGets the parent visual container.
 
 GetRectGets the object bounding rectangle.
 
 GetSelectedThemeObtain a currently selected visual theme.
 
 GetUserDataGets user-defined data associated with this object.
 
 GetValueGets the object value.
 
 IsAutoDestroyTells whether this object will be destroyed automatically.
 
 IsEditModeTells whether this object has the edit mode.
 
 IsEnabledTells whether the visual object is enabled.
 
 IsImageCacheTells whether image cache is enabled for this object.
 
 IsSelectedTells whether this object is selected in the parent container.
 
 IsVisibleTells whether the visual object is visible.
 
 RedrawRedraws this object.
 
 RedrawRectRedraws a specified rectangle.
 
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 
 SetDataAnimationTypeSets data animation type.
 
 SetEditFlagsSets editing flags.
 
 SetIDSets the object identifier.
 
 SetNameSets an object name.
 
 SetRectSets a new bounding rectangle.
 
 SetSelectedSelects or unselects the object in the parent container.
 
 SetUserDataSets user-defined data associated with this object.
 
 SetVisibleShows or hides the visual object.
 

Additional Inherited Members

- Public Types inherited from CBCGPGaugeImpl
enum  BCGP_SUB_GAUGE_POS