GuiConsole

Engine/source/gui/controls/guiConsole.h

More...

Callbacks

DECLARE_CALLBACK(void , onMessageSelected , (ConsoleLogEntry::Level level, const char *message) )
DECLARE_CALLBACK(void , onNewMessage , (U32 errorCount, U32 warnCount, U32 normalCount) )

Private Types

Parent 

Private Functions

getMaxWidth(S32 startIndex, S32 endIndex)

Protected Functions

Public Functions

DECLARE_CATEGORY("Gui Editor" )
DECLARE_DESCRIPTION("Control that displays the console log text." )

Do special pre-render processing.

onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver)
bool

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

setDisplayFilters(bool errors, bool warns, bool normal)

Detailed Description

Callbacks

DECLARE_CALLBACK(void , onMessageSelected , (ConsoleLogEntry::Level level, const char *message) )

DECLARE_CALLBACK(void , onNewMessage , (U32 errorCount, U32 warnCount, U32 normalCount) )

Private Types

typedef GuiArrayCtrl Parent 

Private Attributes

bool mDisplayErrors 
bool mDisplayNormalMessages 
bool mDisplayWarnings 
Vector< ConsoleLogEntry > mFilteredLog 
bool mFiltersDirty 
Resource< GFont > mFont 

Private Functions

getMaxWidth(S32 startIndex, S32 endIndex)

Protected Functions

onCellSelected(Point2I cell)

Reimplemented from: GuiArrayCtrl

Public Functions

GuiConsole()

DECLARE_CATEGORY("Gui Editor" )

DECLARE_CONOBJECT(GuiConsole )

DECLARE_DESCRIPTION("Control that displays the console log text." )

getErrorFilter()

getNormalFilter()

getWarnFilter()

onPreRender()

Reimplemented from: GuiControl

onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver)

Reimplemented from: GuiArrayCtrl

onWake()

Reimplemented from: GuiControl

refresh()

refreshLogText()

setDisplayFilters(bool errors, bool warns, bool normal)

toggleErrorFilter()

toggleNormalFilter()

toggleWarnFilter()