#include <guildwindow.h>
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] |
TextDialog * | guildDialog |
TextDialog * | inviteDialog |
ConfirmDialog * | acceptDialog |
TabbedArea * | mGuildTabs |
ScrollArea * | mScrollArea |
bool | mFocus |
std::string | invitedGuild |
GuildListMap | mGuildLists |
typedef std::map<std::string, GuildListBox*> GuildWindow::GuildListMap [private] |
Definition at line 121 of file guildwindow.h.
GuildWindow::GuildWindow | ( | ) |
Definition at line 49 of file guildwindow.cpp.
GuildWindow::~GuildWindow | ( | ) |
Definition at line 82 of file guildwindow.cpp.
void GuildWindow::action | ( | const gcn::ActionEvent & | event | ) |
void GuildWindow::draw | ( | gcn::Graphics * | graphics | ) |
void GuildWindow::update | ( | ) |
void GuildWindow::newGuildTab | ( | const std::string & | guildName | ) |
void GuildWindow::setTab | ( | const std::string & | guildName | ) |
void GuildWindow::updateTab | ( | ) |
bool GuildWindow::isWindowFocused | ( | ) |
void GuildWindow::openAcceptDialog | ( | const std::string & | inviterName, | |
const std::string & | guildName | |||
) |
void GuildWindow::requestMemberList | ( | short | guildId | ) |
void GuildWindow::removeTab | ( | int | guildId | ) |
void GuildWindow::setOnline | ( | const std::string & | guildName, | |
const std::string & | member, | |||
bool | online | |||
) |
short GuildWindow::getSelectedGuild | ( | ) | [protected] |
Get selected guild tab.
Definition at line 217 of file guildwindow.cpp.
gcn::Button* GuildWindow::mGuildButton[3] [private] |
Definition at line 113 of file guildwindow.h.
TextDialog* GuildWindow::guildDialog [private] |
Definition at line 114 of file guildwindow.h.
TextDialog* GuildWindow::inviteDialog [private] |
Definition at line 115 of file guildwindow.h.
ConfirmDialog* GuildWindow::acceptDialog [private] |
Definition at line 116 of file guildwindow.h.
TabbedArea* GuildWindow::mGuildTabs [private] |
Definition at line 117 of file guildwindow.h.
ScrollArea* GuildWindow::mScrollArea [private] |
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.
GuildListMap GuildWindow::mGuildLists [private] |
Definition at line 122 of file guildwindow.h.