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

#include <DialogDeclEditor.h>

Inheritance diagram for DialogDeclEditor:

Public Member Functions

 DialogDeclEditor (CWnd *pParent=NULL)
 
virtual ~DialogDeclEditor ()
 
void LoadDecl (idDecl *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 void OnEditGoToLine ()
 
afx_msg void OnEditFind ()
 
afx_msg void OnEditFindNext ()
 
afx_msg void OnEditReplace ()
 
afx_msg LRESULT OnFindDialogMessage (WPARAM wParam, LPARAM lParam)
 
afx_msg void OnEnChangeEdit (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnInputEdit (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedTest ()
 
afx_msg void OnBnClickedOk ()
 
afx_msg void OnBnClickedCancel ()
 

Private Types

enum  { IDD = IDD_DIALOG_DECLEDITOR }
 

Private Member Functions

bool TestDecl (const idStr &declText)
 
void UpdateStatusBar (void)
 

Private Attributes

CStatusBarCtrl statusBar
 
CSyntaxRichEditCtrl declEdit
 
CButton testButton
 
CButton okButton
 
CButton cancelButton
 
HACCEL m_hAccel
 
CRect initialRect
 
CFindReplaceDialog * findDlg
 
CString findStr
 
CString replaceStr
 
bool matchCase
 
bool matchWholeWords
 
bool searchForward
 
idDecldecl
 
int firstLine
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 38 of file DialogDeclEditor.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
IDD 

Definition at line 80 of file DialogDeclEditor.h.

Constructor & Destructor Documentation

DialogDeclEditor::DialogDeclEditor ( CWnd *  pParent = NULL)

Definition at line 66 of file DialogDeclEditor.cpp.

DialogDeclEditor::~DialogDeclEditor ( )
virtual

Definition at line 81 of file DialogDeclEditor.cpp.

Member Function Documentation

void DialogDeclEditor::DoDataExchange ( CDataExchange *  pDX)
virtual

Definition at line 89 of file DialogDeclEditor.cpp.

void DialogDeclEditor::LoadDecl ( idDecl decl)

Definition at line 164 of file DialogDeclEditor.cpp.

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

Definition at line 324 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnBnClickedCancel ( )
protected

Definition at line 708 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnBnClickedOk ( )
protected

Definition at line 663 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnBnClickedTest ( )
protected

Definition at line 626 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnDestroy ( )
protected

Definition at line 351 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnEditFind ( )
protected

Definition at line 498 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnEditFindNext ( )
protected

Definition at line 517 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnEditGoToLine ( )
protected

Definition at line 483 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnEditReplace ( )
protected

Definition at line 530 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnEnChangeEdit ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 601 of file DialogDeclEditor.cpp.

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

Definition at line 611 of file DialogDeclEditor.cpp.

LRESULT DialogDeclEditor::OnFindDialogMessage ( WPARAM  wParam,
LPARAM  lParam 
)
protected

Definition at line 549 of file DialogDeclEditor.cpp.

BOOL DialogDeclEditor::OnInitDialog ( )
virtual

Definition at line 267 of file DialogDeclEditor.cpp.

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

Definition at line 360 of file DialogDeclEditor.cpp.

void DialogDeclEditor::OnSetFocus ( CWnd *  pOldWnd)
protected

Definition at line 342 of file DialogDeclEditor.cpp.

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

Definition at line 378 of file DialogDeclEditor.cpp.

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

Definition at line 444 of file DialogDeclEditor.cpp.

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

Definition at line 333 of file DialogDeclEditor.cpp.

BOOL DialogDeclEditor::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 104 of file DialogDeclEditor.cpp.

bool DialogDeclEditor::TestDecl ( const idStr declText)
private

Definition at line 118 of file DialogDeclEditor.cpp.

void DialogDeclEditor::UpdateStatusBar ( void  )
private

Definition at line 150 of file DialogDeclEditor.cpp.

Member Data Documentation

CButton DialogDeclEditor::cancelButton
private

Definition at line 85 of file DialogDeclEditor.h.

idDecl* DialogDeclEditor::decl
private

Definition at line 98 of file DialogDeclEditor.h.

CSyntaxRichEditCtrl DialogDeclEditor::declEdit
private

Definition at line 82 of file DialogDeclEditor.h.

CFindReplaceDialog* DialogDeclEditor::findDlg
private

Definition at line 92 of file DialogDeclEditor.h.

CString DialogDeclEditor::findStr
private

Definition at line 93 of file DialogDeclEditor.h.

int DialogDeclEditor::firstLine
private

Definition at line 99 of file DialogDeclEditor.h.

CRect DialogDeclEditor::initialRect
private

Definition at line 91 of file DialogDeclEditor.h.

HACCEL DialogDeclEditor::m_hAccel
private

Definition at line 90 of file DialogDeclEditor.h.

bool DialogDeclEditor::matchCase
private

Definition at line 95 of file DialogDeclEditor.h.

bool DialogDeclEditor::matchWholeWords
private

Definition at line 96 of file DialogDeclEditor.h.

CButton DialogDeclEditor::okButton
private

Definition at line 84 of file DialogDeclEditor.h.

CString DialogDeclEditor::replaceStr
private

Definition at line 94 of file DialogDeclEditor.h.

bool DialogDeclEditor::searchForward
private

Definition at line 97 of file DialogDeclEditor.h.

CStatusBarCtrl DialogDeclEditor::statusBar
private

Definition at line 81 of file DialogDeclEditor.h.

CButton DialogDeclEditor::testButton
private

Definition at line 83 of file DialogDeclEditor.h.

toolTip_t DialogDeclEditor::toolTips
staticprivate
Initial value:
= {
{ IDC_DECLEDITOR_BUTTON_TEST, "test decl" },
{ IDOK, "save decl" },
{ IDCANCEL, "cancel" },
{ 0, NULL }
}

Definition at line 88 of file DialogDeclEditor.h.


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