Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Setup_Audio Class Reference

#include <setup_audio.h>

Inheritance diagram for Setup_Audio:
SetupTab Container

Public Member Functions

 Setup_Audio ()
 
void apply () override
 Called when the Apply button is pressed in the setup window.
 
void cancel () override
 Called when the Cancel button is pressed in the setup window.
 
void action (const gcn::ActionEvent &event) override
 
- Public Member Functions inherited from SetupTab
 SetupTab ()
 
const std::string & getName () const
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Attributes

int mMusicVolume
 
int mSfxVolume
 
int mNotificationsVolume
 
bool mSoundEnabled
 
bool mDownloadEnabled
 
gcn::CheckBox * mSoundCheckBox
 
gcn::CheckBox * mDownloadMusicCheckBox
 
gcn::Slider * mSfxSlider
 
gcn::Slider * mNotificationsSlider
 
gcn::Slider * mMusicSlider
 

Additional Inherited Members

- Protected Member Functions inherited from SetupTab
void setName (const std::string &name)
 Sets the name displayed on the tab.
 
- Protected Member Functions inherited from Container
LayoutgetLayout ()
 Gets the layout handler for this container.
 
LayoutCellplace (int x, int y, gcn::Widget *wg, int w=1, int h=1)
 Adds a widget to the container and sets it at given cell.
 
ContainerPlacer getPlacer (int x, int y)
 Returns a proxy for adding widgets in an inner table of the layout.
 

Detailed Description

Definition at line 30 of file setup_audio.h.

Constructor & Destructor Documentation

◆ Setup_Audio()

Setup_Audio::Setup_Audio ( )

Definition at line 37 of file setup_audio.cpp.

Member Function Documentation

◆ action()

void Setup_Audio::action ( const gcn::ActionEvent &  event)
override

Definition at line 137 of file setup_audio.cpp.

◆ apply()

void Setup_Audio::apply ( )
overridevirtual

Called when the Apply button is pressed in the setup window.

Implements SetupTab.

Definition at line 84 of file setup_audio.cpp.

◆ cancel()

void Setup_Audio::cancel ( )
overridevirtual

Called when the Cancel button is pressed in the setup window.

Implements SetupTab.

Definition at line 120 of file setup_audio.cpp.

Member Data Documentation

◆ mDownloadEnabled

bool Setup_Audio::mDownloadEnabled
private

Definition at line 45 of file setup_audio.h.

◆ mDownloadMusicCheckBox

gcn::CheckBox* Setup_Audio::mDownloadMusicCheckBox
private

Definition at line 48 of file setup_audio.h.

◆ mMusicSlider

gcn::Slider* Setup_Audio::mMusicSlider
private

Definition at line 51 of file setup_audio.h.

◆ mMusicVolume

int Setup_Audio::mMusicVolume
private

Definition at line 41 of file setup_audio.h.

◆ mNotificationsSlider

gcn::Slider* Setup_Audio::mNotificationsSlider
private

Definition at line 50 of file setup_audio.h.

◆ mNotificationsVolume

int Setup_Audio::mNotificationsVolume
private

Definition at line 43 of file setup_audio.h.

◆ mSfxSlider

gcn::Slider* Setup_Audio::mSfxSlider
private

Definition at line 49 of file setup_audio.h.

◆ mSfxVolume

int Setup_Audio::mSfxVolume
private

Definition at line 42 of file setup_audio.h.

◆ mSoundCheckBox

gcn::CheckBox* Setup_Audio::mSoundCheckBox
private

Definition at line 47 of file setup_audio.h.

◆ mSoundEnabled

bool Setup_Audio::mSoundEnabled
private

Definition at line 44 of file setup_audio.h.


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