BCGSuite 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).
 
 GetColorThemeReturns a currently selected color theme or (-1) if gauge has a custom theme.
 
 GetPointersCountReturns the number of all gauge pointers.
 
 GetScaleBoundsRetrieves a bounding rectangle of specific gauge scale.
 
 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.
 
 GetCornerRadiusReturns a gauge corner radius (in pixels).
 
 GetDefaultInteractivePointerRetrieves an index of pointer used in the interactive mode by default.
 
 GetDefaultInteractiveScaleRetrieves an index of scale used in the interactive mode by default.
 
 GetFrameSizeGets a gauge frame size (in pixels)
 
 GetLevelBarReturns a level bar for a scale.
 
 GetLevelBarsCountGets level bars count.
 
 GetScaleReturns a scale for a gauge.
 
 GetVisualEffectsRetrieves gauge visual effects.
 
 IsInteractiveModeTells whether an interactive mode is active or not.
 
 RemoveAllColoredRangesRemoves all colored ranges.
 
 RemoveAllLevelBarsRemoves all level bars.
 
 RemoveAllScalesRemoves scales.
 
 RemoveLevelBarRemoves the level bar.
 
 RemoveScaleRemoves a scale.
 
 SetCornerRadiusSpecifies a gauge corner radius
 
 SetDefaultInteractivePointerSpecifies a pointer that will be used in the interactive mode by default.
 
 SetDefaultInteractiveScaleSpecifies a scale that will be used in the interactive mode by default.
 
 SetFrameSizeSets a gauge frame size (in pixels).
 
 SetInteractiveModeEnabler or disables a gauge interactive mode.
 
 SetScaleOffsetFromFrameSets the scale offset from the gauge frame.
 
 SetTickMarkStyleSpecifies the gauge tick mark style.
 
 SetVisualEffectsSpecifies gauge visual effects.
 
- 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.
 
 GetFillBrushRetrieves a visual object's background brush
 
 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.
 
 GetVisualEffectRetrieves a visual effect
 
 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.
 
 SetFillBrushSets a new fill brush.
 
 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.
 
 SetVisualEffectSets a visual effect.
 

Additional Inherited Members

- Public Types inherited from CBCGPGaugeImpl
enum  BCGP_SUB_GAUGE_POS