Method | 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.
|
Method | Description | |
---|---|---|
OnFormClosing ( FormClosingEventArgs e ) : void |
Release resources
|
Method | 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
|
public CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool | ||
arg | CheckEnabledArgs | info about the scanner button |
return | bool |
public Initialize ( StartupArg startupArg ) : bool | ||
startupArg | StartupArg | Startup arg |
return | bool |
public OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void | ||
monitorInfo | WindowActivityMonitorInfo | Info about focused element |
return | void |
protected OnFormClosing ( FormClosingEventArgs e ) : void | ||
e | FormClosingEventArgs | event args |
return | void |
public OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool | ||
eventArg | PanelRequestEventArgs | |
return | bool |
public OnWidgetActuated ( Widget widget, bool &handled ) : void | ||
widget | Widget | widget activated |
handled | bool | was this handled |
return | void |
public SetTargetControl ( Form parent, Widget widget ) : void | ||
parent | Form | |
widget | Widget | |
return | void |