BCGSuite for MFC
CBCGPGaugeImplabstract

Detailed Description

This class implements basic functionality for all Gauges such as Circular or Linear gauge.

+ Inheritance diagram for CBCGPGaugeImpl:

Public Types

enum  BCGP_SUB_GAUGE_POS
 

Public Member Functions

 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.
 
 GetTextFormatReturns current text format of gauge labels.
 
 GetVisualEffectsRetrieves the 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.
 
 SetTextFormatSets text format for gauge labels.
 
 SetTickMarkStyleSpecifies the gauge tick mark style.
 
 SetValueSets value for the specified scale.
 
 SetVisualEffectsSpecifies the 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.
 
 OnDrawCalled by the framework to draw a visual object
 
 RedrawRedraws this object.
 
 RedrawRectRedraws a specified rectangle.
 
 SelectVisualThemeSelect a visual theme created in Visual Designer.
 
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 
 SetDataAnimationTypeSets data animation type.
 
 SetDirtyInvalidates and redraws a visual object.
 
 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.