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

#include <DebuggerWindow.h>

Public Member Functions

 rvDebuggerWindow ()
 
 ~rvDebuggerWindow ()
 
bool Create (HINSTANCE hInstance)
 
void ProcessNetMessage (msg_t *msg)
 
void Printf (const char *format,...)
 
HWND GetWindow (void)
 
void AddWatch (const char *name, bool update=true)
 
HINSTANCE GetInstance (void)
 

Static Public Member Functions

static bool Activate (void)
 

Protected Member Functions

bool FindPrev (const char *text=NULL)
 
bool FindNext (const char *text=NULL)
 
void UpdateWatch (void)
 
void UpdateWindowMenu (void)
 
void UpdateScript (void)
 
void UpdateToolbar (void)
 
void UpdateTitle (void)
 
void UpdateCallstack (void)
 
void UpdateRecentFiles (void)
 
bool OpenScript (const char *filename, int lineNumber=-1)
 
void EnableWindows (bool state)
 
int GetSelectedText (idStr &text)
 
void ToggleBreakpoint (void)
 

Protected Attributes

HWND mWnd
 
HWND mWndScript
 
HWND mWndOutput
 
HWND mWndMargin
 
HWND mWndTabs
 
HWND mWndBorder
 
HWND mWndConsole
 
HWND mWndCallstack
 
HWND mWndWatch
 
HWND mWndThreads
 
HWND mWndToolTips
 
HWND mWndToolbar
 
HMENU mRecentFileMenu
 
int mRecentFileInsertPos
 
WNDPROC mOldWatchProc
 
WNDPROC mOldScriptProc
 
idStr mTooltipVar
 
idStr mTooltipValue
 
HINSTANCE mInstance
 
HIMAGELIST mImageList
 
RECT mSplitterRect
 
bool mSplitterDrag
 
idList< rvDebuggerScript * > mScripts
 
int mActiveScript
 
int mLastActiveScript
 
int mCurrentStackDepth
 
HMENU mWindowMenu
 
int mWindowMenuPos
 
int mZoomScaleNum
 
int mZoomScaleDem
 
int mMarginSize
 
idStr mFind
 
rvDebuggerClientmClient
 
rvDebuggerWatchList mWatches
 

Private Member Functions

bool RegisterClass (void)
 
void CreateToolbar (void)
 
bool InitRecentFiles (void)
 
int HandleInitMenu (WPARAM wParam, LPARAM lParam)
 
int HandleCommand (WPARAM wParam, LPARAM lParam)
 
int HandleCreate (WPARAM wparam, LPARAM lparam)
 
int HandleActivate (WPARAM wparam, LPARAM lparam)
 
int HandleDrawItem (WPARAM wparam, LPARAM lparam)
 
void HandleTooltipGetDispInfo (WPARAM wparam, LPARAM lparam)
 

Static Private Member Functions

static LRESULT CALLBACK WndProc (HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
 
static LRESULT CALLBACK MarginWndProc (HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
 
static LRESULT CALLBACK ScriptWndProc (HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
 
static INT_PTR CALLBACK AboutDlgProc (HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam)
 
static int CALLBACK ScriptWordBreakProc (LPTSTR text, int current, int max, int action)
 

Detailed Description

Definition at line 48 of file DebuggerWindow.h.

Constructor & Destructor Documentation

rvDebuggerWindow::rvDebuggerWindow ( )

Definition at line 62 of file DebuggerWindow.cpp.

rvDebuggerWindow::~rvDebuggerWindow ( )

Definition at line 86 of file DebuggerWindow.cpp.

Member Function Documentation

INT_PTR CALLBACK rvDebuggerWindow::AboutDlgProc ( HWND  wnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)
staticprivate

Definition at line 1855 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::Activate ( void  )
static

Definition at line 1516 of file DebuggerWindow.cpp.

void rvDebuggerWindow::AddWatch ( const char *  name,
bool  update = true 
)

Definition at line 2043 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::Create ( HINSTANCE  hInstance)

Definition at line 142 of file DebuggerWindow.cpp.

void rvDebuggerWindow::CreateToolbar ( void  )
private

Definition at line 1874 of file DebuggerWindow.cpp.

void rvDebuggerWindow::EnableWindows ( bool  state)
protected

Definition at line 2028 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::FindNext ( const char *  text = NULL)
protected

Definition at line 2194 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::FindPrev ( const char *  text = NULL)
protected

Definition at line 2248 of file DebuggerWindow.cpp.

ID_INLINE HINSTANCE rvDebuggerWindow::GetInstance ( void  )

Definition at line 178 of file DebuggerWindow.h.

int rvDebuggerWindow::GetSelectedText ( idStr text)
protected

Definition at line 2153 of file DebuggerWindow.cpp.

ID_INLINE HWND rvDebuggerWindow::GetWindow ( void  )

Definition at line 158 of file DebuggerWindow.h.

int rvDebuggerWindow::HandleActivate ( WPARAM  wparam,
LPARAM  lparam 
)
private

Definition at line 1971 of file DebuggerWindow.cpp.

int rvDebuggerWindow::HandleCommand ( WPARAM  wParam,
LPARAM  lParam 
)
private

Definition at line 933 of file DebuggerWindow.cpp.

int rvDebuggerWindow::HandleCreate ( WPARAM  wparam,
LPARAM  lparam 
)
private

Definition at line 747 of file DebuggerWindow.cpp.

int rvDebuggerWindow::HandleDrawItem ( WPARAM  wparam,
LPARAM  lparam 
)
private

Definition at line 2303 of file DebuggerWindow.cpp.

int rvDebuggerWindow::HandleInitMenu ( WPARAM  wParam,
LPARAM  lParam 
)
private

Definition at line 622 of file DebuggerWindow.cpp.

void rvDebuggerWindow::HandleTooltipGetDispInfo ( WPARAM  wparam,
LPARAM  lparam 
)
private

Definition at line 1920 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::InitRecentFiles ( void  )
private

Definition at line 2076 of file DebuggerWindow.cpp.

LRESULT CALLBACK rvDebuggerWindow::MarginWndProc ( HWND  wnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)
staticprivate

Definition at line 355 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::OpenScript ( const char *  filename,
int  lineNumber = -1 
)
protected

Definition at line 1722 of file DebuggerWindow.cpp.

void rvDebuggerWindow::Printf ( const char *  format,
  ... 
)

Definition at line 1700 of file DebuggerWindow.cpp.

void rvDebuggerWindow::ProcessNetMessage ( msg_t *  msg)

Definition at line 1538 of file DebuggerWindow.cpp.

bool rvDebuggerWindow::RegisterClass ( void  )
private

Definition at line 114 of file DebuggerWindow.cpp.

LRESULT CALLBACK rvDebuggerWindow::ScriptWndProc ( HWND  wnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)
staticprivate

Definition at line 247 of file DebuggerWindow.cpp.

int CALLBACK rvDebuggerWindow::ScriptWordBreakProc ( LPTSTR  text,
int  current,
int  max,
int  action 
)
staticprivate

Definition at line 187 of file DebuggerWindow.cpp.

void rvDebuggerWindow::ToggleBreakpoint ( void  )
protected

Definition at line 1815 of file DebuggerWindow.cpp.

void rvDebuggerWindow::UpdateCallstack ( void  )
protected

Definition at line 572 of file DebuggerWindow.cpp.

void rvDebuggerWindow::UpdateRecentFiles ( void  )
protected

Definition at line 2104 of file DebuggerWindow.cpp.

void rvDebuggerWindow::UpdateScript ( void  )
protected

Definition at line 504 of file DebuggerWindow.cpp.

void rvDebuggerWindow::UpdateTitle ( void  )
protected

Definition at line 465 of file DebuggerWindow.cpp.

ID_INLINE void rvDebuggerWindow::UpdateToolbar ( void  )
protected

Definition at line 168 of file DebuggerWindow.h.

void rvDebuggerWindow::UpdateWatch ( void  )
protected

Definition at line 600 of file DebuggerWindow.cpp.

void rvDebuggerWindow::UpdateWindowMenu ( void  )
protected

Definition at line 542 of file DebuggerWindow.cpp.

LRESULT CALLBACK rvDebuggerWindow::WndProc ( HWND  wnd,
UINT  msg,
WPARAM  wparam,
LPARAM  lparam 
)
staticprivate

Definition at line 1154 of file DebuggerWindow.cpp.

Member Data Documentation

int rvDebuggerWindow::mActiveScript
protected

Definition at line 116 of file DebuggerWindow.h.

rvDebuggerClient* rvDebuggerWindow::mClient
protected

Definition at line 129 of file DebuggerWindow.h.

int rvDebuggerWindow::mCurrentStackDepth
protected

Definition at line 118 of file DebuggerWindow.h.

idStr rvDebuggerWindow::mFind
protected

Definition at line 127 of file DebuggerWindow.h.

HIMAGELIST rvDebuggerWindow::mImageList
protected

Definition at line 110 of file DebuggerWindow.h.

HINSTANCE rvDebuggerWindow::mInstance
protected

Definition at line 109 of file DebuggerWindow.h.

int rvDebuggerWindow::mLastActiveScript
protected

Definition at line 117 of file DebuggerWindow.h.

int rvDebuggerWindow::mMarginSize
protected

Definition at line 125 of file DebuggerWindow.h.

WNDPROC rvDebuggerWindow::mOldScriptProc
protected

Definition at line 105 of file DebuggerWindow.h.

WNDPROC rvDebuggerWindow::mOldWatchProc
protected

Definition at line 104 of file DebuggerWindow.h.

int rvDebuggerWindow::mRecentFileInsertPos
protected

Definition at line 102 of file DebuggerWindow.h.

HMENU rvDebuggerWindow::mRecentFileMenu
protected

Definition at line 101 of file DebuggerWindow.h.

idList<rvDebuggerScript*> rvDebuggerWindow::mScripts
protected

Definition at line 115 of file DebuggerWindow.h.

bool rvDebuggerWindow::mSplitterDrag
protected

Definition at line 113 of file DebuggerWindow.h.

RECT rvDebuggerWindow::mSplitterRect
protected

Definition at line 112 of file DebuggerWindow.h.

idStr rvDebuggerWindow::mTooltipValue
protected

Definition at line 107 of file DebuggerWindow.h.

idStr rvDebuggerWindow::mTooltipVar
protected

Definition at line 106 of file DebuggerWindow.h.

rvDebuggerWatchList rvDebuggerWindow::mWatches
protected

Definition at line 131 of file DebuggerWindow.h.

HMENU rvDebuggerWindow::mWindowMenu
protected

Definition at line 120 of file DebuggerWindow.h.

int rvDebuggerWindow::mWindowMenuPos
protected

Definition at line 121 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWnd
protected

Definition at line 88 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndBorder
protected

Definition at line 93 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndCallstack
protected

Definition at line 95 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndConsole
protected

Definition at line 94 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndMargin
protected

Definition at line 91 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndOutput
protected

Definition at line 90 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndScript
protected

Definition at line 89 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndTabs
protected

Definition at line 92 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndThreads
protected

Definition at line 97 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndToolbar
protected

Definition at line 99 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndToolTips
protected

Definition at line 98 of file DebuggerWindow.h.

HWND rvDebuggerWindow::mWndWatch
protected

Definition at line 96 of file DebuggerWindow.h.

int rvDebuggerWindow::mZoomScaleDem
protected

Definition at line 124 of file DebuggerWindow.h.

int rvDebuggerWindow::mZoomScaleNum
protected

Definition at line 123 of file DebuggerWindow.h.


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