![]() |
VR-Forces 4.10 Class Documentation
|
The interface for controlling the audio volume gui. More...

Public Member Functions | |
| DtAudioVolumeWidgetInterface () | |
| Default CTOR. More... | |
| virtual | ~DtAudioVolumeWidgetInterface () |
| Virtual DTOR. More... | |
| virtual void | setAudioEnabled (bool enabled)=0 |
| Sets audio to be enabled/disabled in the widget. More... | |
| virtual void | setVolume (int vol)=0 |
| Sets the audio volume level in the widget. More... | |
Public Attributes | |
Audio settings signals. | |
| boost::signalslib::signal < void(bool)> | signal_AudioEnabledChanged |
| Signals emitted when the user changes the data in the widget. More... | |
| boost::signalslib::signal < void(int)> | signal_VolumeChanged |
The interface for controlling the audio volume gui.
| 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 |