![]() |
VR-Forces 5.0.2 Developer's Guide
|
The interface for controlling the audio volume gui.

Public Member Functions | |
| DtAudioVolumeWidgetInterface () | |
| virtual | ~DtAudioVolumeWidgetInterface () |
| virtual void | setAudioEnabled (bool enabled)=0 |
| virtual void | setVolume (int vol)=0 |
Public Attributes | |
Audio settings signals. | |
| boost::signalslib::signal < void(bool)> | signal_AudioEnabledChanged |
| boost::signalslib::signal < void(int)> | signal_VolumeChanged |
| makVrv::DtAudioVolumeWidgetInterface::DtAudioVolumeWidgetInterface | ( | ) |
Default CTOR.
|
virtual |
Virtual DTOR.
|
pure virtual |
Sets audio to be enabled/disabled in the widget.
| [in] | enabled | is the new state of audio. |
Implemented in makVrv::DtAudioVolumeWidget.
|
pure virtual |
Sets the audio volume level in the widget.
| [in] | vol | is the new volume level. |
Implemented in makVrv::DtAudioVolumeWidget.
| boost::signalslib::signal<void (bool)> makVrv::DtAudioVolumeWidgetInterface::signal_AudioEnabledChanged |
Signals emitted when the user changes the data in the widget. Connected to a slot in the logic.
| boost::signalslib::signal<void (int)> makVrv::DtAudioVolumeWidgetInterface::signal_VolumeChanged |
Signals emitted when the user changes the data in the widget. Connected to a slot in the logic.