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

#include <setup_players.h>

Inheritance diagram for Setup_Players:
SetupTab PlayerRelationsListener Container

Public Member Functions

 Setup_Players ()
 
 ~Setup_Players () 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 reset ()
 
void action (const gcn::ActionEvent &event) override
 
void playerRelationsUpdated () 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
 
- Public Member Functions inherited from PlayerRelationsListener
 PlayerRelationsListener ()=default
 
virtual ~PlayerRelationsListener ()=default
 

Private Attributes

bool mShowGender
 
StaticTableModelmPlayerTableTitleModel
 
PlayerTableModelmPlayerTableModel
 
GuiTablemPlayerTable
 
GuiTablemPlayerTitleTable
 
gcn::ScrollArea * mPlayerScrollArea
 
gcn::CheckBox * mDefaultTrading
 
gcn::CheckBox * mDefaultWhisper
 
gcn::Button * mDeleteButton
 
gcn::ListModel * mIgnoreActionChoicesModel
 
gcn::DropDown * mIgnoreActionChoicesBox
 
gcn::CheckBox * mWhisperTabCheckBox
 
gcn::CheckBox * mShowGenderCheckBox
 
gcn::CheckBox * mEnableChatLogCheckBox
 

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 35 of file setup_players.h.

Constructor & Destructor Documentation

◆ Setup_Players()

Setup_Players::Setup_Players ( )

Definition at line 204 of file setup_players.cpp.

◆ ~Setup_Players()

Setup_Players::~Setup_Players ( )
override

Definition at line 281 of file setup_players.cpp.

Member Function Documentation

◆ action()

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

Definition at line 329 of file setup_players.cpp.

◆ apply()

void Setup_Players::apply ( )
overridevirtual

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

Implements SetupTab.

Definition at line 301 of file setup_players.cpp.

◆ cancel()

void Setup_Players::cancel ( )
overridevirtual

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

Implements SetupTab.

Definition at line 320 of file setup_players.cpp.

◆ playerRelationsUpdated()

void Setup_Players::playerRelationsUpdated ( )
overridevirtual

Implements PlayerRelationsListener.

Definition at line 368 of file setup_players.cpp.

◆ reset()

void Setup_Players::reset ( )

Definition at line 288 of file setup_players.cpp.

Member Data Documentation

◆ mDefaultTrading

gcn::CheckBox* Setup_Players::mDefaultTrading
private

Definition at line 60 of file setup_players.h.

◆ mDefaultWhisper

gcn::CheckBox* Setup_Players::mDefaultWhisper
private

Definition at line 61 of file setup_players.h.

◆ mDeleteButton

gcn::Button* Setup_Players::mDeleteButton
private

Definition at line 63 of file setup_players.h.

◆ mEnableChatLogCheckBox

gcn::CheckBox* Setup_Players::mEnableChatLogCheckBox
private

Definition at line 70 of file setup_players.h.

◆ mIgnoreActionChoicesBox

gcn::DropDown* Setup_Players::mIgnoreActionChoicesBox
private

Definition at line 66 of file setup_players.h.

◆ mIgnoreActionChoicesModel

gcn::ListModel* Setup_Players::mIgnoreActionChoicesModel
private

Definition at line 65 of file setup_players.h.

◆ mPlayerScrollArea

gcn::ScrollArea* Setup_Players::mPlayerScrollArea
private

Definition at line 58 of file setup_players.h.

◆ mPlayerTable

GuiTable* Setup_Players::mPlayerTable
private

Definition at line 56 of file setup_players.h.

◆ mPlayerTableModel

PlayerTableModel* Setup_Players::mPlayerTableModel
private

Definition at line 55 of file setup_players.h.

◆ mPlayerTableTitleModel

StaticTableModel* Setup_Players::mPlayerTableTitleModel
private

Definition at line 54 of file setup_players.h.

◆ mPlayerTitleTable

GuiTable* Setup_Players::mPlayerTitleTable
private

Definition at line 57 of file setup_players.h.

◆ mShowGender

bool Setup_Players::mShowGender
private

Definition at line 53 of file setup_players.h.

◆ mShowGenderCheckBox

gcn::CheckBox* Setup_Players::mShowGenderCheckBox
private

Definition at line 69 of file setup_players.h.

◆ mWhisperTabCheckBox

gcn::CheckBox* Setup_Players::mWhisperTabCheckBox
private

Definition at line 68 of file setup_players.h.


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