Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CmdDlg Class Reference

#include <CmdDlg.h>

Inheritance diagram for CmdDlg:
CmdForceDlg CmdIntelDlg CmdMissionsDlg CmdOrdersDlg CmdTheaterDlg

List of all members.

Public Types

enum  MODE {
  MODE_ORDERS, MODE_THEATER, MODE_FORCES, MODE_INTEL,
  MODE_MISSIONS, NUM_MODES
}

Public Member Functions

 CmdDlg (CmpnScreen *mgr)
virtual ~CmdDlg ()
virtual void RegisterCmdControls (FormWindow *win)
virtual void ShowCmdDlg ()
virtual void ExecFrame ()
virtual void OnMode (AWEvent *event)
virtual void OnSave (AWEvent *event)
virtual void OnExit (AWEvent *event)

Protected Member Functions

virtual void ShowMode ()

Protected Attributes

CmpnScreencmpn_screen
ActiveWindowtxt_group
ActiveWindowtxt_score
ActiveWindowtxt_name
ActiveWindowtxt_time
Buttonbtn_mode [NUM_MODES]
Buttonbtn_save
Buttonbtn_exit
Starshatterstars
Campaigncampaign
int mode

Detailed Description

Definition at line 38 of file CmdDlg.h.


Member Enumeration Documentation

Enumerator:
MODE_ORDERS 
MODE_THEATER 
MODE_FORCES 
MODE_INTEL 
MODE_MISSIONS 
NUM_MODES 

Definition at line 41 of file CmdDlg.h.


Constructor & Destructor Documentation

CmdDlg::CmdDlg ( CmpnScreen mgr)

Definition at line 37 of file CmdDlg.cpp.

CmdDlg::~CmdDlg ( )
virtual

Definition at line 49 of file CmdDlg.cpp.


Member Function Documentation

void CmdDlg::ExecFrame ( )
virtual

Reimplemented in CmdIntelDlg, CmdMissionsDlg, CmdTheaterDlg, CmdForceDlg, and CmdOrdersDlg.

Definition at line 97 of file CmdDlg.cpp.

void CmdDlg::OnExit ( AWEvent event)
virtual

Reimplemented in CmdIntelDlg, CmdMissionsDlg, CmdTheaterDlg, CmdForceDlg, and CmdOrdersDlg.

Definition at line 176 of file CmdDlg.cpp.

void CmdDlg::OnMode ( AWEvent event)
virtual

Reimplemented in CmdIntelDlg, CmdMissionsDlg, CmdTheaterDlg, CmdForceDlg, and CmdOrdersDlg.

Definition at line 145 of file CmdDlg.cpp.

void CmdDlg::OnSave ( AWEvent event)
virtual

Reimplemented in CmdIntelDlg, CmdMissionsDlg, CmdTheaterDlg, CmdForceDlg, and CmdOrdersDlg.

Definition at line 166 of file CmdDlg.cpp.

void CmdDlg::RegisterCmdControls ( FormWindow win)
virtual

Definition at line 56 of file CmdDlg.cpp.

void CmdDlg::ShowCmdDlg ( )
virtual

Definition at line 74 of file CmdDlg.cpp.

void CmdDlg::ShowMode ( )
protectedvirtual

Definition at line 132 of file CmdDlg.cpp.


Member Data Documentation

Button* CmdDlg::btn_exit
protected

Definition at line 74 of file CmdDlg.h.

Button* CmdDlg::btn_mode[NUM_MODES]
protected

Definition at line 72 of file CmdDlg.h.

Button* CmdDlg::btn_save
protected

Definition at line 73 of file CmdDlg.h.

Campaign* CmdDlg::campaign
protected

Reimplemented in CmdIntelDlg, CmdForceDlg, CmdMissionsDlg, CmdTheaterDlg, and CmdOrdersDlg.

Definition at line 77 of file CmdDlg.h.

CmpnScreen* CmdDlg::cmpn_screen
protected

Definition at line 66 of file CmdDlg.h.

int CmdDlg::mode
protected

Definition at line 79 of file CmdDlg.h.

Starshatter* CmdDlg::stars
protected

Reimplemented in CmdIntelDlg, CmdForceDlg, CmdMissionsDlg, CmdTheaterDlg, and CmdOrdersDlg.

Definition at line 76 of file CmdDlg.h.

ActiveWindow* CmdDlg::txt_group
protected

Definition at line 68 of file CmdDlg.h.

ActiveWindow* CmdDlg::txt_name
protected

Definition at line 70 of file CmdDlg.h.

ActiveWindow* CmdDlg::txt_score
protected

Definition at line 69 of file CmdDlg.h.

ActiveWindow* CmdDlg::txt_time
protected

Definition at line 71 of file CmdDlg.h.


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