doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CConsoleDlg Class Reference

#include <ConsoleDlg.h>

Inheritance diagram for CConsoleDlg:

Public Types

enum  { IDD = IDD_DIALOG_CONSOLE }
 

Public Member Functions

 CConsoleDlg (CWnd *pParent=NULL)
 
virtual ~CConsoleDlg ()
 
void AddText (const char *msg)
 
void SetConsoleText (const idStr &text)
 
void ExecuteCommand (const idStr &cmd="")
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 
afx_msg void OnSetFocus (CWnd *pOldWnd)
 
afx_msg void OnActivate (UINT nState, CWnd *pWndOther, BOOL bMinimized)
 

Public Attributes

CEdit editConsole
 
CEdit editInput
 
idStr consoleStr
 
idStrList consoleHistory
 
idStr currentCommand
 
int currentHistoryPosition
 
bool saveCurrentCommand
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 

Detailed Description

Definition at line 34 of file ConsoleDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 43 of file ConsoleDlg.h.

Constructor & Destructor Documentation

CConsoleDlg::CConsoleDlg ( CWnd *  pParent = NULL)

Definition at line 40 of file ConsoleDlg.cpp.

CConsoleDlg::~CConsoleDlg ( )
virtual

Definition at line 48 of file ConsoleDlg.cpp.

Member Function Documentation

void CConsoleDlg::AddText ( const char *  msg)

Definition at line 59 of file ConsoleDlg.cpp.

void CConsoleDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 52 of file ConsoleDlg.cpp.

void CConsoleDlg::ExecuteCommand ( const idStr cmd = "")

Definition at line 206 of file ConsoleDlg.cpp.

void CConsoleDlg::OnActivate ( UINT  nState,
CWnd *  pWndOther,
BOOL  bMinimized 
)

Definition at line 253 of file ConsoleDlg.cpp.

void CConsoleDlg::OnSetFocus ( CWnd *  pOldWnd)

Definition at line 196 of file ConsoleDlg.cpp.

void CConsoleDlg::OnSize ( UINT  nType,
int  cx,
int  cy 
)

Definition at line 87 of file ConsoleDlg.cpp.

BOOL CConsoleDlg::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 103 of file ConsoleDlg.cpp.

void CConsoleDlg::SetConsoleText ( const idStr text)

Definition at line 201 of file ConsoleDlg.cpp.

Member Data Documentation

idStrList CConsoleDlg::consoleHistory

Definition at line 57 of file ConsoleDlg.h.

idStr CConsoleDlg::consoleStr

Definition at line 56 of file ConsoleDlg.h.

idStr CConsoleDlg::currentCommand

Definition at line 58 of file ConsoleDlg.h.

int CConsoleDlg::currentHistoryPosition

Definition at line 59 of file ConsoleDlg.h.

CEdit CConsoleDlg::editConsole

Definition at line 50 of file ConsoleDlg.h.

CEdit CConsoleDlg::editInput

Definition at line 51 of file ConsoleDlg.h.

bool CConsoleDlg::saveCurrentCommand

Definition at line 60 of file ConsoleDlg.h.


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