Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown Class Reference

Activate microphone while window is shown. More...

Inheritance diagram for Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown:
Dragengine.Gui.Events.DefaultWidgetListener Dragengine.Gui.Events.WidgetListener

Public Member Functions

ActivateMicrophoneWhileShown new (Microphone microphone)
 Create listener with microphone to activate while window is shown. More...
 
void onWidgetHidden (WidgetEvent event)
 Widget has been hidden. More...
 
void onWidgetShown (WidgetEvent event)
 Widget has been shown. More...
 
- Public Member Functions inherited from Dragengine.Gui.Events.DefaultWidgetListener
DefaultWidgetListener new ()
 Create default widget listener. More...
 
void onWidgetDispose (WidgetEvent event)
 Widget is disposing. More...
 
void onWidgetReposition (WidgetEvent event)
 Widget position changed. More...
 
void onWidgetResize (WidgetEvent event)
 Widget size changed. More...
 

Public Attributes

Microphone pMicrophone
 
Microphone pRestoreMicrophone
 

Detailed Description

Activate microphone while window is shown.

Upon showing window stores current active microphone and activates the window one. Upon closing the window reactivates the previous microphone.

Member Function Documentation

◆ new()

ActivateMicrophoneWhileShown Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown.new ( Microphone  microphone)

Create listener with microphone to activate while window is shown.

◆ onWidgetHidden()

void Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown.onWidgetHidden ( WidgetEvent  event)

Widget has been hidden.

Reimplemented from Dragengine.Gui.Events.DefaultWidgetListener.

◆ onWidgetShown()

void Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown.onWidgetShown ( WidgetEvent  event)

Widget has been shown.

Reimplemented from Dragengine.Gui.Events.DefaultWidgetListener.

Member Data Documentation

◆ pMicrophone

Microphone Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown.pMicrophone

◆ pRestoreMicrophone

Microphone Dragengine.Gui.WindowLogo.ActivateMicrophoneWhileShown.pRestoreMicrophone

The documentation for this class was generated from the following file: