lets host automatically assign players to teams, optionally taking clan/rank into account dialog sets balancing options in Settings handler for the calling class to use after modal display ends More...
#include <autobalancedialog.h>
Data Structures | |
| struct | BalanceOptions |
Public Member Functions | |
| AutoBalanceDialog (wxWindow *parent, const BalanceOptions &defaultval, unsigned int maxnum=16) | |
| virtual | ~AutoBalanceDialog () |
| BalanceOptions | GetResult () |
Data Fields | |
| wxButton * | m_ok_button |
| wxChoice * | m_method_choice |
| wxStaticLine * | m_separator1 |
| wxStaticText * | StaticText1 |
| wxChoice * | m_clans_choice |
| wxStaticText * | m_method_label |
| wxButton * | m_cancel_button |
| wxStaticText * | StaticText2 |
| wxChoice * | m_group_choice |
Static Protected Attributes | |
| static const long | ID_STATICTEXT1 = wxNewId() |
| static const long | ID_METHOD = wxNewId() |
| static const long | ID_STATICTEXT2 = wxNewId() |
| static const long | ID_STATICTEXT3 = wxNewId() |
| static const long | ID_CHOICE1 = wxNewId() |
| static const long | ID_CHOICE2 = wxNewId() |
| static const long | ID_STATICLINE1 = wxNewId() |
| static const long | ID_CANCEL = wxNewId() |
| static const long | ID_OK = wxNewId() |
Private Member Functions | |
| void | OnCancel (wxCommandEvent &event) |
| void | OnOk (wxCommandEvent &event) |
lets host automatically assign players to teams, optionally taking clan/rank into account dialog sets balancing options in Settings handler for the calling class to use after modal display ends
Definition at line 18 of file autobalancedialog.h.
| AutoBalanceDialog::AutoBalanceDialog | ( | wxWindow * | parent, | |
| const BalanceOptions & | defaultval, | |||
| unsigned int | maxnum = 16 | |||
| ) |
Definition at line 30 of file autobalancedialog.cpp.
| AutoBalanceDialog::~AutoBalanceDialog | ( | ) | [virtual] |
Definition at line 83 of file autobalancedialog.cpp.
| AutoBalanceDialog::BalanceOptions AutoBalanceDialog::GetResult | ( | ) |
Definition at line 98 of file autobalancedialog.cpp.
| void AutoBalanceDialog::OnCancel | ( | wxCommandEvent & | event | ) | [private] |
Definition at line 88 of file autobalancedialog.cpp.
| void AutoBalanceDialog::OnOk | ( | wxCommandEvent & | event | ) | [private] |
Definition at line 93 of file autobalancedialog.cpp.
const long AutoBalanceDialog::ID_CANCEL = wxNewId() [static, protected] |
Definition at line 57 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_CHOICE1 = wxNewId() [static, protected] |
Definition at line 54 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_CHOICE2 = wxNewId() [static, protected] |
Definition at line 55 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_METHOD = wxNewId() [static, protected] |
Definition at line 51 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_OK = wxNewId() [static, protected] |
Definition at line 58 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_STATICLINE1 = wxNewId() [static, protected] |
Definition at line 56 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_STATICTEXT1 = wxNewId() [static, protected] |
Definition at line 50 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_STATICTEXT2 = wxNewId() [static, protected] |
Definition at line 52 of file autobalancedialog.h.
const long AutoBalanceDialog::ID_STATICTEXT3 = wxNewId() [static, protected] |
Definition at line 53 of file autobalancedialog.h.
| wxButton* AutoBalanceDialog::m_cancel_button |
Definition at line 42 of file autobalancedialog.h.
| wxChoice* AutoBalanceDialog::m_clans_choice |
Definition at line 40 of file autobalancedialog.h.
| wxChoice* AutoBalanceDialog::m_group_choice |
Definition at line 44 of file autobalancedialog.h.
| wxChoice* AutoBalanceDialog::m_method_choice |
Definition at line 37 of file autobalancedialog.h.
| wxStaticText* AutoBalanceDialog::m_method_label |
Definition at line 41 of file autobalancedialog.h.
| wxButton* AutoBalanceDialog::m_ok_button |
Definition at line 36 of file autobalancedialog.h.
| wxStaticLine* AutoBalanceDialog::m_separator1 |
Definition at line 38 of file autobalancedialog.h.
| wxStaticText* AutoBalanceDialog::StaticText1 |
Definition at line 39 of file autobalancedialog.h.
| wxStaticText* AutoBalanceDialog::StaticText2 |
Definition at line 43 of file autobalancedialog.h.
1.6.3