20 #ifndef PAWS_QUEST_WINDOW_HEADER 21 #define PAWS_QUEST_WINDOW_HEADER 73 void HandleMessage(
MsgEntry* message );
76 const char* HandleCommand(
const char* cmd);
82 bool OnButtonPressed(
int mouseButton,
int keyModifier,
pawsWidget* reporter);
85 bool OnButtonReleased(
int mouseButton,
int keyModifier,
pawsWidget* reporter);
87 void OnListAction(
pawsListBox* selected,
int status );
90 void SaveNotes(
const char * fileName);
93 void LoadNotes(
const char * fileName);
99 void OnStringEntered(
const char *name,
int param,
const char *value);
102 void OnNumberEntered(
const char *name,
int param,
int value);
107 void RequestQuestData(
int id);
110 void RequestGMEventData(
int id);
113 void DiscardQuest(
int id);
116 void DiscardGMEvent(
int id);
124 void EvaluateGMEvent(
int id, uint8_t vote, csString comment);
127 void PopulateQuestTab(
void);
130 void PopulateGMEventTab(
void);
190 csRef<iDocumentSystem>
xml;
This is a window that is controlled by a button on the control bar.
csString completedEvents
XML strings for gm events.
pawsButton * QuestListsBtn
The structure of 1 queue entry (pointer to a message)
csString uncompletedEvents
pawsListBox * uncompletedQuestList
The list of uncompleted quests (discarded quests are hidden; deleted after expiration) ...
csArray< QuestNote * > quest_notes
pawsListBox * completedEventList
The list of completed events.
csRef< iDocumentSystem > xml
pawsTabWindow * questTab
The selected tab of quests.
pawsTabWindow * eventTab
The selected tab of events.
bool populateQuestLists
flag to indicate to populate new quest xml string
pawsMultilineEditTextBox * notes
A simple list box widget.
int questID
ID of selected quest (-1 = no quest selected)
int questIDBuffer
ID of pending discard (in case selection changes during prompt)
bool populateGMEventLists
flag to indicate to populate new quest xml string
int VoteBuffer
Last vote expressed.
pawsListBox * eventList
The list of events.
This is a special type of text box that is used for messages.
csString uncompletedQuests
pawsListBox * uncompletedEventList
The list of uncompleted events (discarded events are hidden; deleted after expiration) ...
This interface defines the callback used by pawsStringPromptWindow to notify another window of a supp...
pawsListBox * questList
The list of quests.
csString completedQuests
XML strings for quests.
pawsTabWindow * currentTab
current top tab
This window is supposed to be a generic widget for using tabs to show and hide subwindows automatical...
pawsMessageTextBox * description
pawsButton * EvaluateBtn
The button which brings up the evaluation procedure.
pawsListBox * completedQuestList
The list of completed quests.
CREATE_PAWS_FACTORY(pawsQuestListWindow)
The pawsLootWindow factory.
Window containing a list of completed and in progress quests.