#include <MessageDialog.h>

Public Member Functions | |
| void | clear () |
| virtual void | draw () |
| virtual void | simulate (float frameTime) |
| virtual void | channelText (ChannelText &text) |
| virtual void | registeredForChannels (std::list< ChannelDefinition > ®isteredChannels, std::list< ChannelDefinition > &availableChannels) |
Static Public Member Functions | |
| static MessageDialog * | instance () |
Protected Attributes | |
| float | showTime_ |
| LangString | currentText_ |
| std::list< LangString > | texts_ |
Static Protected Attributes | |
| static MessageDialog * | instance_ = 0 |
Private Member Functions | |
| MessageDialog () | |
| virtual | ~MessageDialog () |
Definition at line 29 of file MessageDialog.h.
| MessageDialog::MessageDialog | ( | ) | [private] |
Definition at line 36 of file MessageDialog.cpp.
References GLWWindow::disabled_, ClientChannelManager::instance(), ClientChannelManager::registerClient(), and GLWWindow::windowLevel_.
Referenced by instance().
| MessageDialog::~MessageDialog | ( | ) | [private, virtual] |
Definition at line 49 of file MessageDialog.cpp.
| MessageDialog * MessageDialog::instance | ( | ) | [static] |
Definition at line 30 of file MessageDialog.cpp.
References instance_, and MessageDialog().
Referenced by ClientWindowSetup::addCommonComponents().
| void MessageDialog::clear | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 79 of file MessageDialog.cpp.
References showTime_, and texts_.
Referenced by channelText().
| void MessageDialog::draw | ( | ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 85 of file MessageDialog.cpp.
References GLState::BLEND_ON, currentText_, GLState::DEPTH_OFF, GLFont2d::draw(), GLWWindow::draw(), GLWFont::getGameFont(), GLViewPort::getHeight(), GLFont2d::getWidth(), GLViewPort::getWidth(), GLWFont::instance(), GLWidget::setH(), GLWidget::setW(), GLWidget::setX(), GLWidget::setY(), showTime_, and GLState::TEXTURE_OFF.
| void MessageDialog::simulate | ( | float | frameTime | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 65 of file MessageDialog.cpp.
References currentText_, showTime_, and texts_.
| void MessageDialog::channelText | ( | ChannelText & | text | ) | [virtual] |
Implements ClientChannelManagerI.
Definition at line 53 of file MessageDialog.cpp.
References clear(), ChannelText::getMessage(), and texts_.
| void MessageDialog::registeredForChannels | ( | std::list< ChannelDefinition > & | registeredChannels, | |
| std::list< ChannelDefinition > & | availableChannels | |||
| ) | [virtual] |
MessageDialog * MessageDialog::instance_ = 0 [static, protected] |
float MessageDialog::showTime_ [protected] |
LangString MessageDialog::currentText_ [protected] |
std::list<LangString> MessageDialog::texts_ [protected] |
Definition at line 52 of file MessageDialog.h.
Referenced by channelText(), clear(), and simulate().
1.5.3