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

#include <DialogScriptEditor.h>

Inheritance diagram for DialogScriptEditor:

Public Member Functions

 DialogScriptEditor (CWnd *pParent=NULL)
 
virtual ~DialogScriptEditor ()
 
void OpenFile (const char *fileName)
 
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 OnBnClickedOk ()
 
afx_msg void OnBnClickedCancel ()
 

Private Types

enum  { IDD = IDD_DIALOG_SCRIPTEDITOR }
 

Private Member Functions

void InitScriptEvents (void)
 
void UpdateStatusBar (void)
 

Private Attributes

CStatusBarCtrl statusBar
 
CSyntaxRichEditCtrl scriptEdit
 
CButton okButton
 
CButton cancelButton
 
HACCEL m_hAccel
 
CRect initialRect
 
CFindReplaceDialog * findDlg
 
CString findStr
 
CString replaceStr
 
bool matchCase
 
bool matchWholeWords
 
bool searchForward
 
idStr fileName
 
int firstLine
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 39 of file DialogScriptEditor.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
IDD 

Definition at line 79 of file DialogScriptEditor.h.

Constructor & Destructor Documentation

DialogScriptEditor::DialogScriptEditor ( CWnd *  pParent = NULL)

Definition at line 73 of file DialogScriptEditor.cpp.

DialogScriptEditor::~DialogScriptEditor ( )
virtual

Definition at line 87 of file DialogScriptEditor.cpp.

Member Function Documentation

void DialogScriptEditor::DoDataExchange ( CDataExchange *  pDX)
virtual

Definition at line 95 of file DialogScriptEditor.cpp.

void DialogScriptEditor::InitScriptEvents ( void  )
private

Definition at line 135 of file DialogScriptEditor.cpp.

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

Definition at line 434 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnBnClickedCancel ( )
protected

Definition at line 749 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnBnClickedOk ( )
protected

Definition at line 724 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnDestroy ( )
protected

Definition at line 461 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnEditFind ( )
protected

Definition at line 597 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnEditFindNext ( )
protected

Definition at line 616 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnEditGoToLine ( )
protected

Definition at line 582 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnEditReplace ( )
protected

Definition at line 629 of file DialogScriptEditor.cpp.

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

Definition at line 700 of file DialogScriptEditor.cpp.

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

Definition at line 709 of file DialogScriptEditor.cpp.

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

Definition at line 648 of file DialogScriptEditor.cpp.

BOOL DialogScriptEditor::OnInitDialog ( )
virtual

Definition at line 312 of file DialogScriptEditor.cpp.

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

Definition at line 470 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OnSetFocus ( CWnd *  pOldWnd)
protected

Definition at line 452 of file DialogScriptEditor.cpp.

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

Definition at line 488 of file DialogScriptEditor.cpp.

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

Definition at line 543 of file DialogScriptEditor.cpp.

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

Definition at line 443 of file DialogScriptEditor.cpp.

void DialogScriptEditor::OpenFile ( const char *  fileName)

Definition at line 228 of file DialogScriptEditor.cpp.

BOOL DialogScriptEditor::PreTranslateMessage ( MSG *  pMsg)
virtual

Definition at line 109 of file DialogScriptEditor.cpp.

void DialogScriptEditor::UpdateStatusBar ( void  )
private

Definition at line 123 of file DialogScriptEditor.cpp.

Member Data Documentation

CButton DialogScriptEditor::cancelButton
private

Definition at line 83 of file DialogScriptEditor.h.

idStr DialogScriptEditor::fileName
private

Definition at line 96 of file DialogScriptEditor.h.

CFindReplaceDialog* DialogScriptEditor::findDlg
private

Definition at line 90 of file DialogScriptEditor.h.

CString DialogScriptEditor::findStr
private

Definition at line 91 of file DialogScriptEditor.h.

int DialogScriptEditor::firstLine
private

Definition at line 97 of file DialogScriptEditor.h.

CRect DialogScriptEditor::initialRect
private

Definition at line 89 of file DialogScriptEditor.h.

HACCEL DialogScriptEditor::m_hAccel
private

Definition at line 88 of file DialogScriptEditor.h.

bool DialogScriptEditor::matchCase
private

Definition at line 93 of file DialogScriptEditor.h.

bool DialogScriptEditor::matchWholeWords
private

Definition at line 94 of file DialogScriptEditor.h.

CButton DialogScriptEditor::okButton
private

Definition at line 82 of file DialogScriptEditor.h.

CString DialogScriptEditor::replaceStr
private

Definition at line 92 of file DialogScriptEditor.h.

CSyntaxRichEditCtrl DialogScriptEditor::scriptEdit
private

Definition at line 81 of file DialogScriptEditor.h.

bool DialogScriptEditor::searchForward
private

Definition at line 95 of file DialogScriptEditor.h.

CStatusBarCtrl DialogScriptEditor::statusBar
private

Definition at line 80 of file DialogScriptEditor.h.

toolTip_t DialogScriptEditor::toolTips
staticprivate
Initial value:
= {
{ IDOK, "save" },
{ IDCANCEL, "cancel" },
{ 0, NULL }
}

Definition at line 86 of file DialogScriptEditor.h.


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