SuperTuxKart
|
Public Member Functions | |
StaticTextMessage (MessageQueue::MessageType mt, const core::stringw &message) | |
virtual void | draw (float dt) |
Draw the message. | |
![]() | |
TextMessage (MessageQueue::MessageType mt, const core::stringw &message) | |
virtual MessageQueue::MessageType | getMessageType () const |
Returns the type of the message. | |
virtual void | init () |
Init the message text, do linebreak as required. | |
virtual void | draw (float dt) |
Draw the message. | |
![]() | |
Message (float timer, const core::stringw &msg) | |
virtual MessageQueue::MessageType | getMessageType () const =0 |
virtual void | init ()=0 |
virtual void | draw (float dt) |
bool | canBeRemoved () const |
Additional Inherited Members | |
![]() | |
MessageQueue::MessageType | m_message_type |
The type of the message. | |
std::string | m_render_type |
The render type of the message: either achievement-message::neutral or friend-message::neutral. | |
std::vector< gui::GlyphLayout > | m_gls |
The text layout, can do linebreak if needed. | |
core::recti | m_text_rect |
Drawing rectangle of text layout. | |
SkinWidgetContainer * | m_container |
A pointer to the Container for the Message. | |
gui::IGUIFont * | m_font |
Font and screen size used to detect if re-initialization is needed. | |
core::dimension2du | m_screen_size |
![]() | |
float | m_display_timer |
If this < 0, remove this message from queue. | |
core::stringw | m_message |
The message. | |
core::recti | m_area |
The area which the message is drawn. | |
|
inlinevirtual |
Draw the message.
Reimplemented from MessageQueue::TextMessage.