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

#include <DialogEntityDefEditor.h>

Inheritance diagram for DialogEntityDefEditor:

Public Member Functions

 DialogEntityDefEditor (CWnd *pParent=NULL)
 
virtual ~DialogEntityDefEditor ()
 
void LoadDecl (idDeclEntityDef *decl)
 
virtual BOOL OnInitDialog ()
 
virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 

Protected Member Functions

afx_msg BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnSetFocus (CWnd *pOldWnd)
 
afx_msg void OnDestroy ()
 
afx_msg void OnActivate (UINT nState, CWnd *pWndOther, BOOL bMinimized)
 
afx_msg void OnMove (int x, int y)
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnSizing (UINT nSide, LPRECT lpRect)
 
afx_msg LRESULT OnFindDialogMessage (WPARAM wParam, LPARAM lParam)
 
afx_msg void OnEditChange ()
 
afx_msg void OnInheritChange ()
 
afx_msg void OnEnInputEdit (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnKeyValChange ()
 
afx_msg void OnBnClickedAdd ()
 
afx_msg void OnBnClickedDelete ()
 
afx_msg void OnBnClickedTest ()
 
afx_msg void OnBnClickedOk ()
 
afx_msg void OnBnClickedCancel ()
 

Private Types

enum  { IDD = IDD_DIALOG_ENTITYEDITOR }
 

Private Member Functions

void PopulateLists (idStr &declText)
 
void SetInherit (idStr &inherit)
 
void BuildDeclText (idStr &declText)
 
bool TestDecl (const idStr &declText)
 
void UpdateStatusBar (void)
 

Private Attributes

CStatusBarCtrl statusBar
 
CEdit declNameEdit
 
CComboBox inheritCombo
 
CComboBox spawnclassCombo
 
CPropertyList keyValsList
 
CStatic keyLabel
 
CEdit keyEdit
 
CButton addButton
 
CButton delButton
 
CStatic line
 
CButton testButton
 
CButton okButton
 
CButton cancelButton
 
HACCEL m_hAccel
 
CRect initialRect
 
idDeclEntityDefdecl
 
int firstLine
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 38 of file DialogEntityDefEditor.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
IDD 

Definition at line 83 of file DialogEntityDefEditor.h.

Constructor & Destructor Documentation

DialogEntityDefEditor::DialogEntityDefEditor ( CWnd *  pParent = NULL)

Definition at line 64 of file DialogEntityDefEditor.cpp.

DialogEntityDefEditor::~DialogEntityDefEditor ( )
virtual

Definition at line 76 of file DialogEntityDefEditor.cpp.

Member Function Documentation

void DialogEntityDefEditor::BuildDeclText ( idStr declText)
private

Definition at line 662 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::DoDataExchange ( CDataExchange *  pDX)
virtual

Definition at line 84 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::LoadDecl ( idDeclEntityDef decl)

Definition at line 167 of file DialogEntityDefEditor.cpp.

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

Definition at line 395 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnBnClickedAdd ( )
protected

Definition at line 788 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnBnClickedCancel ( )
protected

Definition at line 761 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnBnClickedDelete ( )
protected

Definition at line 829 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnBnClickedOk ( )
protected

Definition at line 725 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnBnClickedTest ( )
protected

Definition at line 696 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnDestroy ( )
protected

Definition at line 422 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnEditChange ( )
protected

Definition at line 611 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnEnInputEdit ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 646 of file DialogEntityDefEditor.cpp.

afx_msg LRESULT DialogEntityDefEditor::OnFindDialogMessage ( WPARAM  wParam,
LPARAM  lParam 
)
protected
void DialogEntityDefEditor::OnInheritChange ( )
protected

Definition at line 621 of file DialogEntityDefEditor.cpp.

BOOL DialogEntityDefEditor::OnInitDialog ( )
virtual

Definition at line 335 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnKeyValChange ( )
protected

Definition at line 775 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnMove ( int  x,
int  y 
)
protected

Definition at line 431 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnSetFocus ( CWnd *  pOldWnd)
protected

Definition at line 413 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnSize ( UINT  nType,
int  cx,
int  cy 
)
protected

Definition at line 450 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::OnSizing ( UINT  nSide,
LPRECT  lpRect 
)
protected

Definition at line 572 of file DialogEntityDefEditor.cpp.

BOOL DialogEntityDefEditor::OnToolTipNotify ( UINT  id,
NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 404 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::PopulateLists ( idStr declText)
private

Definition at line 215 of file DialogEntityDefEditor.cpp.

BOOL DialogEntityDefEditor::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 110 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::SetInherit ( idStr inherit)
private

Definition at line 291 of file DialogEntityDefEditor.cpp.

bool DialogEntityDefEditor::TestDecl ( const idStr declText)
private

Definition at line 124 of file DialogEntityDefEditor.cpp.

void DialogEntityDefEditor::UpdateStatusBar ( void  )
private

Definition at line 156 of file DialogEntityDefEditor.cpp.

Member Data Documentation

CButton DialogEntityDefEditor::addButton
private

Definition at line 93 of file DialogEntityDefEditor.h.

CButton DialogEntityDefEditor::cancelButton
private

Definition at line 99 of file DialogEntityDefEditor.h.

idDeclEntityDef* DialogEntityDefEditor::decl
private

Definition at line 106 of file DialogEntityDefEditor.h.

CEdit DialogEntityDefEditor::declNameEdit
private

Definition at line 85 of file DialogEntityDefEditor.h.

CButton DialogEntityDefEditor::delButton
private

Definition at line 94 of file DialogEntityDefEditor.h.

int DialogEntityDefEditor::firstLine
private

Definition at line 107 of file DialogEntityDefEditor.h.

CComboBox DialogEntityDefEditor::inheritCombo
private

Definition at line 86 of file DialogEntityDefEditor.h.

CRect DialogEntityDefEditor::initialRect
private

Definition at line 105 of file DialogEntityDefEditor.h.

CEdit DialogEntityDefEditor::keyEdit
private

Definition at line 92 of file DialogEntityDefEditor.h.

CStatic DialogEntityDefEditor::keyLabel
private

Definition at line 91 of file DialogEntityDefEditor.h.

CPropertyList DialogEntityDefEditor::keyValsList
private

Definition at line 89 of file DialogEntityDefEditor.h.

CStatic DialogEntityDefEditor::line
private

Definition at line 95 of file DialogEntityDefEditor.h.

HACCEL DialogEntityDefEditor::m_hAccel
private

Definition at line 104 of file DialogEntityDefEditor.h.

CButton DialogEntityDefEditor::okButton
private

Definition at line 98 of file DialogEntityDefEditor.h.

CComboBox DialogEntityDefEditor::spawnclassCombo
private

Definition at line 87 of file DialogEntityDefEditor.h.

CStatusBarCtrl DialogEntityDefEditor::statusBar
private

Definition at line 84 of file DialogEntityDefEditor.h.

CButton DialogEntityDefEditor::testButton
private

Definition at line 97 of file DialogEntityDefEditor.h.

toolTip_t DialogEntityDefEditor::toolTips
staticprivate
Initial value:
= {
{ IDC_DECLEDITOR_BUTTON_TEST, "Test Decl" },
{ IDOK, "Save Decl" },
{ IDCANCEL, "Cancel" },
{ 0, NULL }
}

Definition at line 102 of file DialogEntityDefEditor.h.


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