#include <guildlistbox.h>
Definition at line 33 of file guildlistbox.h.
Public Member Functions | |
GuildListBox () | |
Constructor. | |
void | draw (gcn::Graphics *gcnGraphics) |
Draws the list box. | |
void | mousePressed (gcn::MouseEvent &event) |
void | setOnlineStatus (const std::string &user, bool online) |
Sets the index of the selected element. | |
Private Types | |
typedef std::map< std::string, bool > | UserMap |
Private Attributes | |
Image * | onlineIcon |
Image * | offlineIcon |
UserMap | mUsers |
typedef std::map<std::string, bool> GuildListBox::UserMap [private] |
Definition at line 61 of file guildlistbox.h.
GuildListBox::GuildListBox | ( | ) |
void GuildListBox::draw | ( | gcn::Graphics * | gcnGraphics | ) |
void GuildListBox::mousePressed | ( | gcn::MouseEvent & | event | ) |
Definition at line 103 of file guildlistbox.cpp.
void GuildListBox::setOnlineStatus | ( | const std::string & | user, | |
bool | online | |||
) |
Sets the index of the selected element.
Set whether a member is online or offline
Definition at line 118 of file guildlistbox.cpp.
Image* GuildListBox::onlineIcon [private] |
Definition at line 59 of file guildlistbox.h.
Image* GuildListBox::offlineIcon [private] |
Definition at line 60 of file guildlistbox.h.
UserMap GuildListBox::mUsers [private] |
Definition at line 62 of file guildlistbox.h.