C# Class ACAT.Extensions.Default.FunctionalAgents.VolumeSettings.VolumeSettingsScanner

Afficher le fichier Open project: brlima94/acat-localization Class Usage Examples

Méthodes publiques

Méthode Description
CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.

Initialize ( StartupArg startupArg ) : bool

Initializes the form

OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void

Invoked when the focus changes either in the active window or when the active window itself changes.

OnPause ( ) : void

Pauses animation and hides the form

OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool

Not used

OnResume ( ) : void

Resumes animation and shows the form

OnWidgetActuated ( Widget widget, bool &handled ) : void

User actuated a widget. Act on it i.e, set the volume based on the level selected

SetTargetControl ( Form parent, Widget widget ) : void

Not used

VolumeSettingsScanner ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
OnFormClosing ( FormClosingEventArgs e ) : void

Release resources

Private Methods

Méthode Description
BTest_Click ( object sender, EventArgs e ) : void
VolumeSettingsScanner_FormClosing ( object sender, FormClosingEventArgs e ) : void

Release resources

VolumeSettingsScanner_Load ( object sender, EventArgs e ) : void

Form is loaded. Initialize it.

WndProc ( Message &m ) : void
doVolumeTest ( ) : void

Does a volume test by converting a test string to speech

setTitle ( int setting = -1 ) : void

Set the title of the form with the volume level

setVolumeAndUpdateTitle ( int volume ) : void

Sets the volume in the TTS engine and updates the level setting in the title bar

Method Details

CheckWidgetEnabled() public méthode

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.
public CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool
arg CheckEnabledArgs info about the scanner button
Résultat bool

Initialize() public méthode

Initializes the form
public Initialize ( StartupArg startupArg ) : bool
startupArg StartupArg Startup arg
Résultat bool

OnFocusChanged() public méthode

Invoked when the focus changes either in the active window or when the active window itself changes.
public OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void
monitorInfo WindowActivityMonitorInfo Info about focused element
Résultat void

OnFormClosing() protected méthode

Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs event args
Résultat void

OnPause() public méthode

Pauses animation and hides the form
public OnPause ( ) : void
Résultat void

OnQueryPanelChange() public méthode

Not used
public OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool
eventArg PanelRequestEventArgs
Résultat bool

OnResume() public méthode

Resumes animation and shows the form
public OnResume ( ) : void
Résultat void

OnWidgetActuated() public méthode

User actuated a widget. Act on it i.e, set the volume based on the level selected
public OnWidgetActuated ( Widget widget, bool &handled ) : void
widget Widget widget activated
handled bool was this handled
Résultat void

SetTargetControl() public méthode

Not used
public SetTargetControl ( Form parent, Widget widget ) : void
parent Form
widget Widget
Résultat void

VolumeSettingsScanner() public méthode

Initializes a new instance of the class.
public VolumeSettingsScanner ( ) : System
Résultat System