DbgFileView Class Reference

#include <guiDebugger.h>

Inheritance diagram for DbgFileView:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DbgFileView ()
 ~DbgFileView ()
 DECLARE_CONOBJECT (DbgFileView)
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
void clear ()
void clearBreakPositions ()
void setCurrentLine (S32 lineNumber, bool setCurrentLine)
const char * getCurrentLine (S32 &lineNumber)
bool openFile (const char *fileName)
void scrollToLine (S32 lineNumber)
void setBreakPointStatus (U32 lineNumber, bool value)
void setBreakPosition (U32 line)
void addLine (const char *text, U32 textLen)
bool findString (const char *text)
void onMouseDown (const GuiEvent &event)
void onMouseDragged (const GuiEvent &event)
void onMouseUp (const GuiEvent &event)
void onPreRender ()
 Do special pre-render processing.
void onRenderCell (Point2I offset, Point2I cell, bool selected, bool mouseOver)

Private Types

typedef GuiArrayCtrl Parent

Private Member Functions

void AdjustCellSize ()
S32 findMouseOverChar (const char *text, S32 stringPosition)
bool findMouseOverVariable ()

Private Attributes

Vector< FileLinemFileView
StringTableEntry mFileName
StringTableEntry mPCFileName
S32 mPCCurrentLine
bool mbMouseDragging
S32 mMouseDownChar
S32 mBlockStart
S32 mBlockEnd
char mMouseOverVariable [256]
char mMouseOverValue [256]
S32 mMouseVarStart
S32 mMouseVarEnd
char mFindString [256]
S32 mFindLineNumber

Classes

struct  FileLine

Member Typedef Documentation

typedef GuiArrayCtrl DbgFileView::Parent [private]

Reimplemented from GuiArrayCtrl.


Constructor & Destructor Documentation

DbgFileView::DbgFileView (  ) 

DbgFileView::~DbgFileView (  ) 


Member Function Documentation

void DbgFileView::AdjustCellSize (  )  [private]

S32 DbgFileView::findMouseOverChar ( const char *  text,
S32  stringPosition 
) [private]

bool DbgFileView::findMouseOverVariable (  )  [private]

DbgFileView::DECLARE_CONOBJECT ( DbgFileView   ) 

bool DbgFileView::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiArrayCtrl.

void DbgFileView::clear (  ) 

Reimplemented from SimSet.

void DbgFileView::clearBreakPositions (  ) 

void DbgFileView::setCurrentLine ( S32  lineNumber,
bool  setCurrentLine 
)

const char* DbgFileView::getCurrentLine ( S32 lineNumber  ) 

bool DbgFileView::openFile ( const char *  fileName  ) 

void DbgFileView::scrollToLine ( S32  lineNumber  ) 

void DbgFileView::setBreakPointStatus ( U32  lineNumber,
bool  value 
)

void DbgFileView::setBreakPosition ( U32  line  ) 

void DbgFileView::addLine ( const char *  text,
U32  textLen 
)

bool DbgFileView::findString ( const char *  text  ) 

void DbgFileView::onMouseDown ( const GuiEvent event  )  [virtual]

Reimplemented from GuiArrayCtrl.

void DbgFileView::onMouseDragged ( const GuiEvent event  )  [virtual]

Reimplemented from GuiArrayCtrl.

void DbgFileView::onMouseUp ( const GuiEvent event  )  [virtual]

Reimplemented from GuiControl.

void DbgFileView::onPreRender (  )  [virtual]

Do special pre-render processing.

Reimplemented from GuiControl.

void DbgFileView::onRenderCell ( Point2I  offset,
Point2I  cell,
bool  selected,
bool  mouseOver 
) [virtual]

Reimplemented from GuiArrayCtrl.


Member Data Documentation

char DbgFileView::mMouseOverVariable[256] [private]

char DbgFileView::mMouseOverValue[256] [private]

char DbgFileView::mFindString[256] [private]