LogDialog Class Reference

#include <LogDialog.h>

Inheritance diagram for LogDialog:

GLWWindow GLWButtonI LoggerI GLWPanel GLWidget MetaClass

List of all members.

Public Member Functions

virtual void draw ()
virtual void buttonDown (unsigned int id)
virtual void logMessage (LoggerInfo &info)
void setServerName (const char *name)

Static Public Member Functions

static LogDialoginstance ()

Protected Attributes


Static Protected Attributes

static LogDialoginstance_ = 0

Private Member Functions

 LogDialog ()
virtual ~LogDialog ()

Detailed Description

Definition at line 31 of file LogDialog.h.

Constructor & Destructor Documentation

LogDialog::LogDialog (  )  [private]

Definition at line 40 of file LogDialog.cpp.

References Logger::addLogger(), GLWPanel::addWidget(), GLWButton::ButtonFlagCenterX, LANG_RESOURCE, listView_, GLWWindow::needCentered_, quit_, and serverName_.

LogDialog::~LogDialog (  )  [private, virtual]

Definition at line 55 of file LogDialog.cpp.

Member Function Documentation

LogDialog * LogDialog::instance (  )  [static]

Definition at line 31 of file LogDialog.cpp.

References instance_.

Referenced by ClientWindowSetup::setupStartWindows().

void LogDialog::draw (  )  [virtual]

Reimplemented from GLWWindow.

Definition at line 65 of file LogDialog.cpp.

References GLWWindow::draw(), GLViewPort::getHeight(), GLViewPort::getWidth(), listView_, quit_, serverName_, GLWidget::setH(), GLWListView::setH(), GLWListView::setW(), GLWidget::setW(), GLWidget::setX(), and GLWidget::setY().

void LogDialog::buttonDown ( unsigned int  id  )  [virtual]

Implements GLWButtonI.

Definition at line 86 of file LogDialog.cpp.

References GLWidget::getId(), QuitDialog::instance(), GLWWindowManager::instance(), and quit_.

void LogDialog::logMessage ( LoggerInfo info  )  [virtual]

Implements LoggerI.

Definition at line 59 of file LogDialog.cpp.

References GLWListView::addLine(), GLWListView::endPosition(), LoggerInfo::getMessage(), and listView_.

void LogDialog::setServerName ( const char *  name  )  [inline]

Definition at line 48 of file LogDialog.h.

References LANG_STRING, serverName_, and GLWLabel::setText().

Member Data Documentation

LogDialog * LogDialog::instance_ = 0 [static, protected]

Definition at line 51 of file LogDialog.h.

Referenced by instance().

GLWTextButton* LogDialog::quit_ [protected]

Definition at line 52 of file LogDialog.h.

Referenced by buttonDown(), draw(), and LogDialog().

GLWLabel* LogDialog::serverName_ [protected]

Definition at line 53 of file LogDialog.h.

Referenced by draw(), LogDialog(), and setServerName().

GLWListView* LogDialog::listView_ [protected]

Definition at line 54 of file LogDialog.h.

Referenced by draw(), LogDialog(), and logMessage().

The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:03 2009 for Scorched3D by  doxygen 1.5.3