#include <LogDialog.h>

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 LogDialog * | instance () |
Protected Attributes | |
| GLWTextButton * | quit_ |
| GLWLabel * | serverName_ |
| GLWListView * | listView_ |
Static Protected Attributes | |
| static LogDialog * | instance_ = 0 |
Private Member Functions | |
| LogDialog () | |
| virtual | ~LogDialog () |
Definition at line 31 of file LogDialog.h.
| 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.
| 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().
LogDialog * LogDialog::instance_ = 0 [static, protected] |
GLWTextButton* LogDialog::quit_ [protected] |
GLWLabel* LogDialog::serverName_ [protected] |
GLWListView* LogDialog::listView_ [protected] |
1.5.3