GuildListBox Class Reference

#include <guildlistbox.h>

Inheritance diagram for GuildListBox:

ListBox

List of all members.


Detailed Description

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

ImageonlineIcon
ImageofflineIcon
UserMap mUsers

Member Typedef Documentation

typedef std::map<std::string, bool> GuildListBox::UserMap [private]

Definition at line 61 of file guildlistbox.h.


Constructor & Destructor Documentation

GuildListBox::GuildListBox (  ) 

Constructor.

Definition at line 31 of file guildlistbox.cpp.


Member Function Documentation

void GuildListBox::draw ( gcn::Graphics *  gcnGraphics  ) 

Draws the list box.

Reimplemented from ListBox.

Definition at line 38 of file guildlistbox.cpp.

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.


Member Data Documentation

Definition at line 59 of file guildlistbox.h.

Definition at line 60 of file guildlistbox.h.

Definition at line 62 of file guildlistbox.h.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5