20 #ifndef PAWS_GUILD_WINDOW_HEADER 21 #define PAWS_GUILD_WINDOW_HEADER 65 size_t GetLevel(
const char* levelName );
70 void OnItemChosen(
const char *name,
int param,
int itemNum,
const csString & itemText);
80 void SetupLevelNameButtons();
85 void HandleGuildData( csString& openString );
86 void HandleLevelData( csString& openString );
87 void HandleMemberData( csString& openString );
88 void HandleAllianceData( csString& openString );
93 int FindMemberInListBox(
const csString & name);
98 void ExtractLevelInfo(csRef<iDocumentNode> levelNode);
99 void HideLeaderCheckboxes();
102 void OpenGuildLeaveConfirm();
109 void SetAllianceWidgetVisibility(
int mode);
112 pawsWidget *permissionsPanel,*membersPanel,*alliancesPanel,*settingsPanel,*currentPanel;
113 pawsButton *permissionsTab,*membersTab,*alliancesTab,*settingsTab,*currentTab;
128 csRef<iDocumentSystem> xml;
130 csArray<guildMemberInfo> members;
135 int max_guild_points;
140 csArray<csString> levels;
This is a window that is controlled by a button on the control bar.
A combination widget that has a check box and a text label.
CREATE_PAWS_FACTORY(pawsGuildWindow)
Main Chat window for PlaneShift.
The structure of 1 queue entry (pointer to a message)
virtual void Hide()
When the window is closed let the controller window know about it.
void HandleMessage(MsgEntry *me)
size_t GetLevel(const char *levelName)
void OnStringEntered(const char *name, int param, const char *value)
Handle popup question window callback.
A simple list box widget.
virtual ~pawsGuildWindow()
Window with all information about your guild, also allows to create a new guild.
void OnItemChosen(const char *name, int param, int itemNum, const csString &itemText)
virtual bool OnButtonReleased(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is released.
A basic combo box widget.
This interface defines the callback used by pawsStringPromptWindow to notify another window of a supp...
void SetCreatingGuild(bool v)
virtual void Show()
When the window is opened let the controller window know about it.
void OnNumberEntered(const char *name, int param, int value)
virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Handles when a button is pressed.
virtual bool PostSetup()
This is called after the widget and all of it's children have been created.