19 #ifndef PAWS_BUDDY_HEADER 20 #define PAWS_BUDDY_HEADER 36 #define ALIASES_FILE_PREFIX "/planeshift/userdata/aliases_" 67 csString currentBuddy;
76 csStringArray onlineBuddies;
78 csStringArray offlineBuddies;
81 csHash<csString, csString> aliases;
88 csString GetAlias(
const csString & name)
const;
95 csString GetRealName(
const csString & alias)
const;
101 void LoadAliases(
const csString & charName);
107 void SaveAliases(
const csString & charName)
const;
115 void ChangeAlias(
const csString & name,
const csString & oldAlias,
const csString & newAlias);
123 void FillBuddyList();
131 bool IsUniqueAlias(
const csString & alias)
const;
This is a window that is controlled by a button on the control bar.
The buddy window that shows your current list of in game 'friends'.
Main Chat window for PlaneShift.
The structure of 1 queue entry (pointer to a message)
virtual void OnResize()
Sets the new position of the close button.
void OnListAction(pawsListBox *widget, int status)
Called whenever an item in a child list box is selected.
bool PostSetup()
This is called after the widget and all of it's children have been created.
A simple list box widget.
bool OnButtonReleased(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is released.
CREATE_PAWS_FACTORY(pawsBuddyWindow)
This interface defines the callback used by pawsStringPromptWindow to notify another window of a supp...
void OnStringEntered(const char *name, int param, const char *value)
When the pawsStringPromptWindow is created, a ptr to a class which implements this function is provid...
void HandleMessage(MsgEntry *me)
Handles the messages this widget has subscribed to.
virtual void Show()
When the window is opened let the controller window know about it.