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

#include <setup_interface.h>

Inheritance diagram for Setup_Interface:
SetupTab Container

Public Member Functions

 Setup_Interface ()
 
 ~Setup_Interface () override
 
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

bool mShowMonsterDamageEnabled
 
bool mVisibleNamesEnabled
 
bool mNameEnabled
 
bool mNPCLogEnabled
 
bool mPickupChatEnabled
 
bool mPickupParticleEnabled
 
double mOpacity
 
Being::Speech mSpeechMode
 
std::unique_ptr< gcn::ListModel > mThemesListModel
 
std::unique_ptr< gcn::ListModel > mFontSizeListModel
 
gcn::CheckBox * mShowMonsterDamageCheckBox
 
gcn::CheckBox * mVisibleNamesCheckBox
 
gcn::CheckBox * mNameCheckBox
 
gcn::CheckBox * mNPCLogCheckBox
 
gcn::Label * mPickupNotifyLabel
 
gcn::CheckBox * mPickupChatCheckBox
 
gcn::CheckBox * mPickupParticleCheckBox
 
gcn::Slider * mSpeechSlider
 
gcn::Label * mSpeechLabel
 
gcn::Slider * mAlphaSlider
 
gcn::DropDown * mThemeDropDown
 
gcn::DropDown * mFontSizeDropDown
 

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 32 of file setup_interface.h.

Constructor & Destructor Documentation

◆ Setup_Interface()

Setup_Interface::Setup_Interface ( )

Definition at line 109 of file setup_interface.cpp.

◆ ~Setup_Interface()

Setup_Interface::~Setup_Interface ( )
overridedefault

Member Function Documentation

◆ action()

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

Definition at line 263 of file setup_interface.cpp.

◆ apply()

void Setup_Interface::apply ( )
overridevirtual

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

Implements SetupTab.

Definition at line 219 of file setup_interface.cpp.

◆ cancel()

void Setup_Interface::cancel ( )
overridevirtual

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

Implements SetupTab.

Definition at line 241 of file setup_interface.cpp.

Member Data Documentation

◆ mAlphaSlider

gcn::Slider* Setup_Interface::mAlphaSlider
private

Definition at line 68 of file setup_interface.h.

◆ mFontSizeDropDown

gcn::DropDown* Setup_Interface::mFontSizeDropDown
private

Definition at line 71 of file setup_interface.h.

◆ mFontSizeListModel

std::unique_ptr<gcn::ListModel> Setup_Interface::mFontSizeListModel
private

Definition at line 55 of file setup_interface.h.

◆ mNameCheckBox

gcn::CheckBox* Setup_Interface::mNameCheckBox
private

Definition at line 59 of file setup_interface.h.

◆ mNameEnabled

bool Setup_Interface::mNameEnabled
private

Definition at line 47 of file setup_interface.h.

◆ mNPCLogCheckBox

gcn::CheckBox* Setup_Interface::mNPCLogCheckBox
private

Definition at line 60 of file setup_interface.h.

◆ mNPCLogEnabled

bool Setup_Interface::mNPCLogEnabled
private

Definition at line 48 of file setup_interface.h.

◆ mOpacity

double Setup_Interface::mOpacity
private

Definition at line 51 of file setup_interface.h.

◆ mPickupChatCheckBox

gcn::CheckBox* Setup_Interface::mPickupChatCheckBox
private

Definition at line 63 of file setup_interface.h.

◆ mPickupChatEnabled

bool Setup_Interface::mPickupChatEnabled
private

Definition at line 49 of file setup_interface.h.

◆ mPickupNotifyLabel

gcn::Label* Setup_Interface::mPickupNotifyLabel
private

Definition at line 62 of file setup_interface.h.

◆ mPickupParticleCheckBox

gcn::CheckBox* Setup_Interface::mPickupParticleCheckBox
private

Definition at line 64 of file setup_interface.h.

◆ mPickupParticleEnabled

bool Setup_Interface::mPickupParticleEnabled
private

Definition at line 50 of file setup_interface.h.

◆ mShowMonsterDamageCheckBox

gcn::CheckBox* Setup_Interface::mShowMonsterDamageCheckBox
private

Definition at line 57 of file setup_interface.h.

◆ mShowMonsterDamageEnabled

bool Setup_Interface::mShowMonsterDamageEnabled
private

Definition at line 45 of file setup_interface.h.

◆ mSpeechLabel

gcn::Label* Setup_Interface::mSpeechLabel
private

Definition at line 67 of file setup_interface.h.

◆ mSpeechMode

Being::Speech Setup_Interface::mSpeechMode
private

Definition at line 52 of file setup_interface.h.

◆ mSpeechSlider

gcn::Slider* Setup_Interface::mSpeechSlider
private

Definition at line 66 of file setup_interface.h.

◆ mThemeDropDown

gcn::DropDown* Setup_Interface::mThemeDropDown
private

Definition at line 70 of file setup_interface.h.

◆ mThemesListModel

std::unique_ptr<gcn::ListModel> Setup_Interface::mThemesListModel
private

Definition at line 54 of file setup_interface.h.

◆ mVisibleNamesCheckBox

gcn::CheckBox* Setup_Interface::mVisibleNamesCheckBox
private

Definition at line 58 of file setup_interface.h.

◆ mVisibleNamesEnabled

bool Setup_Interface::mVisibleNamesEnabled
private

Definition at line 46 of file setup_interface.h.


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