GRAPHIC_BAR_SETTINGS structure |
|
The GRAPHIC_BAR_SETTINGS structure (defined as GRAPHIC_BAR_SETTINGS_DLL when used for COM interoperability) describes the graphical settings applied to a specific graphic bar. The current settings can be retrieved through the GraphicBarManager.GetGraphicalSettings method and modified through the GraphicBarManager.SetGraphicalSettings method.
For further details about methods of the Graphic Bars Manager refer to the GraphicBarsMan class.
For a tutorial about the use of the Graphic Bars Manager refer to the How to perform custom feedbacks rendering using graphic bars section.
C# definition
public struct GRAPHIC_BAR_SETTINGS
{
public enumGraphicBarOrientations nOrientation;
public bool bAppearance3d;
public bool bSmoothing;
public bool bAutomaticDrop;
public Color colorStart;
public Color colorEnd;
public Color colorBackground;
public enumGraphicBarShapes nShape;
}
Definition for COM Interoperability
public struct GRAPHIC_BAR_SETTINGS_DLL
{
public Int32 nOrientation;
public Int16 bAppearance3d;
public Int16 bSmoothing;
public Int16 bAutomaticDrop;
public Int32 colorStart;
public Int32 colorEnd;
public Int32 colorBackground;
public Int32 nShape;
}
Member |
Description |
||||||||||||
|
|
||||||||||||
Graphic bar orientation. Supported values are the following:
|
|||||||||||||
Boolean value that specifies if the graphic bar is displayed with 3D borders. Supported values are the following:
|
|||||||||||||
Smoothing flag. Supported values are the following:
|
|||||||||||||
Automatic drop flag: this feature allows decreasing the displayed value to 0 with a certain delay as seen on certain hardware based VU-meters when no input sound is available. Supported values are the following:
|
|||||||||||||
The color starting the gradient rendering (default is set to light Green) |
|||||||||||||
The color ending the gradient rendering. Use the same value of the colorStart member if you want a single color graphic bar. (default is set to light Red) |
|||||||||||||
The color used as a background (default is set to Black)
|
|||||||||||||
Graphic bar orientation. Supported values are the following:
|