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
DialogDeclNew Class Reference

#include <DialogDeclNew.h>

Inheritance diagram for DialogDeclNew:

Public Member Functions

 DialogDeclNew (CWnd *pParent=NULL)
 
virtual ~DialogDeclNew ()
 
void SetDeclTree (CPathTreeCtrl *tree)
 
void SetDefaultType (const char *type)
 
void SetDefaultName (const char *name)
 
void SetDefaultFile (const char *file)
 
idDecl * GetNewDecl (void) const
 
virtual BOOL OnInitDialog ()
 
virtual void DoDataExchange (CDataExchange *pDX)
 

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 OnBnClickedFile ()
 
afx_msg void OnBnClickedOk ()
 
afx_msg void OnBnClickedCancel ()
 

Private Types

enum  { IDD = IDD_DIALOG_DECLNEW }
 

Private Member Functions

void InitTypeList (void)
 

Private Attributes

CComboBox typeList
 
CEdit nameEdit
 
CEdit fileEdit
 
CButton fileButton
 
CButton okButton
 
CButton cancelButton
 
CPathTreeCtrl * declTree
 
idStr defaultType
 
idStr defaultName
 
idStr defaultFile
 
idDecl * newDecl
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 37 of file DialogDeclNew.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
IDD 

Definition at line 72 of file DialogDeclNew.h.

Constructor & Destructor Documentation

DialogDeclNew::DialogDeclNew ( CWnd *  pParent = NULL)

Definition at line 63 of file DialogDeclNew.cpp.

DialogDeclNew::~DialogDeclNew ( )
virtual

Definition at line 75 of file DialogDeclNew.cpp.

Member Function Documentation

void DialogDeclNew::DoDataExchange ( CDataExchange *  pDX)
virtual

Definition at line 83 of file DialogDeclNew.cpp.

idDecl* DialogDeclNew::GetNewDecl ( void  ) const
inline

Definition at line 49 of file DialogDeclNew.h.

void DialogDeclNew::InitTypeList ( void  )
private

Definition at line 100 of file DialogDeclNew.cpp.

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

Definition at line 150 of file DialogDeclNew.cpp.

void DialogDeclNew::OnBnClickedCancel ( )
protected

Definition at line 277 of file DialogDeclNew.cpp.

void DialogDeclNew::OnBnClickedFile ( )
protected

Definition at line 186 of file DialogDeclNew.cpp.

void DialogDeclNew::OnBnClickedOk ( )
protected

Definition at line 230 of file DialogDeclNew.cpp.

void DialogDeclNew::OnDestroy ( )
protected

Definition at line 177 of file DialogDeclNew.cpp.

BOOL DialogDeclNew::OnInitDialog ( )
virtual

Definition at line 114 of file DialogDeclNew.cpp.

void DialogDeclNew::OnSetFocus ( CWnd *  pOldWnd)
protected

Definition at line 168 of file DialogDeclNew.cpp.

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

Definition at line 159 of file DialogDeclNew.cpp.

void DialogDeclNew::SetDeclTree ( CPathTreeCtrl *  tree)
inline

Definition at line 45 of file DialogDeclNew.h.

void DialogDeclNew::SetDefaultFile ( const char *  file)
inline

Definition at line 48 of file DialogDeclNew.h.

void DialogDeclNew::SetDefaultName ( const char *  name)
inline

Definition at line 47 of file DialogDeclNew.h.

void DialogDeclNew::SetDefaultType ( const char *  type)
inline

Definition at line 46 of file DialogDeclNew.h.

Member Data Documentation

CButton DialogDeclNew::cancelButton
private

Definition at line 78 of file DialogDeclNew.h.

CPathTreeCtrl* DialogDeclNew::declTree
private

Definition at line 83 of file DialogDeclNew.h.

idStr DialogDeclNew::defaultFile
private

Definition at line 86 of file DialogDeclNew.h.

idStr DialogDeclNew::defaultName
private

Definition at line 85 of file DialogDeclNew.h.

idStr DialogDeclNew::defaultType
private

Definition at line 84 of file DialogDeclNew.h.

CButton DialogDeclNew::fileButton
private

Definition at line 76 of file DialogDeclNew.h.

CEdit DialogDeclNew::fileEdit
private

Definition at line 75 of file DialogDeclNew.h.

CEdit DialogDeclNew::nameEdit
private

Definition at line 74 of file DialogDeclNew.h.

idDecl* DialogDeclNew::newDecl
private

Definition at line 87 of file DialogDeclNew.h.

CButton DialogDeclNew::okButton
private

Definition at line 77 of file DialogDeclNew.h.

toolTip_t DialogDeclNew::toolTips
staticprivate
Initial value:
= {
{ IDC_DECLNEW_COMBO_NEW_TYPE, "select the declaration type to create" },
{ IDC_DECLNEW_EDIT_NEW_NAME, "enter a name for the new declaration" },
{ IDC_DECLNEW_EDIT_NEW_FILE, "enter the name of the file to add the declaration to" },
{ IDC_DECLNEW_BUTTON_NEW_FILE, "select existing file to add the declaration to" },
{ IDOK, "create new declaration" },
{ IDCANCEL, "cancel" },
{ 0, NULL }
}

Definition at line 81 of file DialogDeclNew.h.

CComboBox DialogDeclNew::typeList
private

Definition at line 73 of file DialogDeclNew.h.


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