WANALYZER_SCROLLBARS_SETTINGS structure |
|
The WANALYZER_SCROLLBARS_SETTINGS structure (defined as WANALYZER_SCROLLBARS_SETTINGS_DLL when used for COM interoperability) describes settings applied while rendering the scrollbars on the Waveform Analyzer. The current settings can be retrieved through the WaveformAnalyzer.SettingsScrollbarsGet method and modified through the WaveformAnalyzer.SettingsScrollbarsSet method.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
C# definition
public struct WANALYZER_SCROLLBARS_SETTINGS
{
public Int16 nHeightInPixels;
public enumWaveScrollbarType nType;
public enumGraphicItemMaskValues nGraphicItemsMask;
public bool bVisibleTop;
public bool bVisibleBottom;
public Color colorBackground;
public Color colorThumb;
public Color colorVisibleRange;
public enumScrollbarWaveVisibleRangeType nVisibleRangeType;
public Int16 nVisibleRangeTranspGlassFactor;
public Int16 nVisibleRangeLinesWidth;
public bool bEnabledDuringPlayback;
public enumTranspGlassType nTransparentGlassType;
public Int16 nTransparentGlassPos3D;
public bool bTransparentGlassInvert3D;
}
Definition for COM Interoperability
public struct WANALYZER_SCROLLBARS_SETTINGS_DLL
{
public Int16 nHeightInPixels;
public Int32 nType;
public Int32 nGraphicItemsMask;
public Int16 bVisibleTop;
public Int16 bVisibleBottom;
public Int32 colorBackground;
public Int32 colorThumb;
public Int32 colorVisibleRange;
public Int32 nVisibleRangeType;
public Int16 nVisibleRangeTranspGlassFactor;
public Int16 nVisibleRangeLinesWidth;
public Int16 bEnabledDuringPlayback;
public Int32 nTransparentGlassType;
public Int16 nTransparentGlassPos3D;
public Int16 bTransparentGlassInvert3D;
}
Member |
Description |
||||||||||||||||||
|
|
||||||||||||||||||
Height of the scrollbars in pixels. By default this value is set to 12. If the nType field below is set to WSCROLLBAR_TYPE_RECT, this field cannot be set to a value smaller than 6. If the nType field below is set to WSCROLLBAR_TYPE_WAVEFORM, this field cannot be set to a value smaller than 12. Eventual smaller values will be automatically capped to the nearest valid value. |
|||||||||||||||||||
Determines how the scrollbar is visualized. Supported values are the following:
On the screenshots below you can see that two different types of scrollbar; in all cases you can resize the visible range by dragging the provided handles with the left mouse button:
|
|||||||||||||||||||
Combination of values determining the mask of graphic items that must be drawn on the waveform scrollbar. By default this Supported values are the following:
|
|||||||||||||||||||
Boolean value that specifies if the top scrollbar is visible. Supported values are the following:
|
|||||||||||||||||||
Boolean value that specifies if the bottom scrollbar is visible.Supported values are the following:
|
|||||||||||||||||||
Color used for rendering the scrollbars background. |
|||||||||||||||||||
Color used for rendering the scrollbars thumb. |
|||||||||||||||||||
Color used for rendering inside the scrollbars the waveform background for visible range. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. |
|||||||||||||||||||
Determines how the visible range of the waveform is displayed. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM Supported values are the following:
|
|||||||||||||||||||
Transparent factor applied to the transparent glass. This value can range from 0 (total opacity) to 255 (total transparency) with a default value of 128. Values outside of this range will be automatically capped to the nearest valid value. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Width of lines in pixels. Cannot assume values smaller than 1. The default value is 2. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Boolean value that specifies if scrollbars are enabled during playback. Supported values are the following:
|
|||||||||||||||||||
Type of transparent glass. Supported values are the following:
This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Position of the 3D effect for the transparent glass. This value can range from 0 to 100 with a default value of 50. Values outside of this range will be automatically capped to the nearest valid value. This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |
|||||||||||||||||||
Boolean value that specifies if the transparency of the 3D effect is inverted. Supported values are the following:
This setting is ignored when the nType field above is set to a value different from WSCROLLBAR_TYPE_WAVEFORM. This setting is ignored when the nVisibleRangeType field above is set to a value different from SCROLL_WAVE_VISIBLE_TRANSP_GLASS_INNER or SCROLL_WAVE_VISIBLE_TRANSP_GLASS_OUTER. |