SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MessageQueue::ProgressBarMessage Class Reference

A class which display a progress bar in game, only one can be displayed. More...

Inheritance diagram for MessageQueue::ProgressBarMessage:
Inheritance graph
[legend]

Public Member Functions

 ProgressBarMessage (const core::stringw &msg)
 
virtual MessageQueue::MessageType getMessageType () const
 Returns the type of the message.
 
virtual void init ()
 
virtual void draw (float dt)
 
- Public Member Functions inherited from MessageQueue::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
 

Private Attributes

SkinWidgetContainer m_swc
 

Additional Inherited Members

- Protected Attributes inherited from MessageQueue::Message
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.
 

Detailed Description

A class which display a progress bar in game, only one can be displayed.

Member Function Documentation

◆ draw()

virtual void MessageQueue::ProgressBarMessage::draw ( float  dt)
inlinevirtual

Reimplemented from MessageQueue::Message.

◆ getMessageType()

virtual MessageQueue::MessageType MessageQueue::ProgressBarMessage::getMessageType ( ) const
inlinevirtual

Returns the type of the message.

Implements MessageQueue::Message.

◆ init()

virtual void MessageQueue::ProgressBarMessage::init ( )
inlinevirtual

Implements MessageQueue::Message.


The documentation for this class was generated from the following file: