19 #ifndef OPENXCOM_OPTIONSAUDIOSTATE_H
20 #define OPENXCOM_OPTIONSAUDIOSTATE_H
23 #include "OptionsBaseState.h"
39 static const std::wstring musFormats[], sndFormats[];
40 Text *_txtMusicVolume, *_txtSoundVolume, *_txtUiVolume;
41 Slider *_slrMusicVolume, *_slrSoundVolume, *_slrUiVolume;
44 Text *_txtMusicFormat, *_txtCurrentMusic, *_txtSoundFormat, *_txtCurrentSound;
45 ComboBox *_cbxMusicFormat, *_cbxSoundFormat;
46 std::vector<int> _sampleRates;
Screen that lets the user configure various Audio options.
Definition: OptionsAudioState.h:36
void slrMusicVolumeChange(Action *action)
Handler for changing the music slider.
Definition: OptionsAudioState.cpp:223
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
void cbxMusicFormatChange(Action *action)
Handler for changing the Music Format combobox.
Definition: OptionsAudioState.cpp:281
void slrUiVolumeRelease(Action *action)
Handler for sound slider button release.
Definition: OptionsAudioState.cpp:262
void slrUiVolumeChange(Action *action)
Handler for changing the sound slider.
Definition: OptionsAudioState.cpp:252
Horizontal slider control to select from a range of values.
Definition: Slider.h:36
Text string displayed on screen.
Definition: Text.h:41
void cbxSoundFormatChange(Action *action)
Handler for changing the Sound Format combobox.
Definition: OptionsAudioState.cpp:291
Text button with a list dropdown when pressed.
Definition: ComboBox.h:38
void cbxSampleRateChange(Action *action)
Handler for changing the Sample Rate combobox.
Definition: OptionsAudioState.cpp:271
void slrSoundVolumeChange(Action *action)
Handler for changing the sound slider.
Definition: OptionsAudioState.cpp:233
void slrSoundVolumeRelease(Action *action)
Handler for sound slider button release.
Definition: OptionsAudioState.cpp:243
~OptionsAudioState()
Cleans up the Audio Options state.
Definition: OptionsAudioState.cpp:214
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
OptionsAudioState(Game *game, OptionsOrigin origin)
Creates the Audio Options state.
Definition: OptionsAudioState.cpp:45
Options base state for common stuff across Options windows.
Definition: OptionsBaseState.h:43