GuildWindow Class Reference

#include <guildwindow.h>

Inheritance diagram for GuildWindow:

Window

List of all members.


Detailed Description

Definition at line 43 of file guildwindow.h.


Public Member Functions

 GuildWindow ()
 ~GuildWindow ()
void action (const gcn::ActionEvent &event)
 Called when receiving actions from widget.
void draw (gcn::Graphics *graphics)
 Draw this window.
void update ()
 Updates this dialog.
void newGuildTab (const std::string &guildName)
 Create a new tab for a guild list.
void setTab (const std::string &guildName)
 Display guild's member list to active tab.
void updateTab ()
 Update the contents of the active tab.
bool isWindowFocused ()
 Check if the window is in focus.
void openAcceptDialog (const std::string &inviterName, const std::string &guildName)
 Create a dialog for accepting an invite.
void requestMemberList (short guildId)
 Request member list.
void removeTab (int guildId)
 Removes the selected tab.
void setOnline (const std::string &guildName, const std::string &member, bool online)
 Set guild member status in userlist.

Protected Member Functions

short getSelectedGuild ()
 Get selected guild tab.

Private Types

typedef std::map< std::string,
GuildListBox * > 
GuildListMap

Private Attributes

gcn::Button * mGuildButton [3]
TextDialogguildDialog
TextDialoginviteDialog
ConfirmDialogacceptDialog
TabbedAreamGuildTabs
ScrollAreamScrollArea
bool mFocus
std::string invitedGuild
GuildListMap mGuildLists

Member Typedef Documentation

typedef std::map<std::string, GuildListBox*> GuildWindow::GuildListMap [private]

Definition at line 121 of file guildwindow.h.


Constructor & Destructor Documentation

GuildWindow::GuildWindow (  ) 

Definition at line 49 of file guildwindow.cpp.

GuildWindow::~GuildWindow (  ) 

Definition at line 82 of file guildwindow.cpp.


Member Function Documentation

void GuildWindow::action ( const gcn::ActionEvent &  event  ) 

Called when receiving actions from widget.

Definition at line 104 of file guildwindow.cpp.

void GuildWindow::draw ( gcn::Graphics *  graphics  ) 

Draw this window.

Reimplemented from Window.

Definition at line 97 of file guildwindow.cpp.

void GuildWindow::update (  ) 

Updates this dialog.

Definition at line 86 of file guildwindow.cpp.

void GuildWindow::newGuildTab ( const std::string &  guildName  ) 

Create a new tab for a guild list.

Definition at line 170 of file guildwindow.cpp.

void GuildWindow::setTab ( const std::string &  guildName  ) 

Display guild's member list to active tab.

Definition at line 197 of file guildwindow.cpp.

void GuildWindow::updateTab (  ) 

Update the contents of the active tab.

Definition at line 187 of file guildwindow.cpp.

bool GuildWindow::isWindowFocused (  ) 

Check if the window is in focus.

Definition at line 212 of file guildwindow.cpp.

void GuildWindow::openAcceptDialog ( const std::string &  inviterName,
const std::string &  guildName 
)

Create a dialog for accepting an invite.

Definition at line 233 of file guildwindow.cpp.

void GuildWindow::requestMemberList ( short  guildId  ) 

Request member list.

Definition at line 245 of file guildwindow.cpp.

void GuildWindow::removeTab ( int  guildId  ) 

Removes the selected tab.

Definition at line 251 of file guildwindow.cpp.

void GuildWindow::setOnline ( const std::string &  guildName,
const std::string &  member,
bool  online 
)

Set guild member status in userlist.

Definition at line 266 of file guildwindow.cpp.

short GuildWindow::getSelectedGuild (  )  [protected]

Get selected guild tab.

Returns:
Returns selected guild

Definition at line 217 of file guildwindow.cpp.


Member Data Documentation

gcn::Button* GuildWindow::mGuildButton[3] [private]

Definition at line 113 of file guildwindow.h.

Definition at line 114 of file guildwindow.h.

Definition at line 115 of file guildwindow.h.

Definition at line 116 of file guildwindow.h.

Definition at line 117 of file guildwindow.h.

Definition at line 118 of file guildwindow.h.

bool GuildWindow::mFocus [private]

Definition at line 119 of file guildwindow.h.

std::string GuildWindow::invitedGuild [private]

Definition at line 120 of file guildwindow.h.

Definition at line 122 of file guildwindow.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