Planeshift
pawssummary.h
Go to the documentation of this file.
1 /*
2  * pawssummary.h - Author: Andrew Craig
3  *
4  * Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 #ifndef PAWS_CHAR_CREATE_SUMMARY_WINDOW_HEADER
20 #define PAWS_CHAR_CREATE_SUMMARY_WINDOW_HEADER
21 
22 #include "paws/pawswidget.h"
23 #include "paws/pawstextbox.h"
24 #include "psengine.h"
25 
26 class psCreationManager;
27 class pawsObjectView;
28 class psCharAppearance;
29 
34 {
35 public:
38  bool OnButtonReleased( int mouseButton, int keyModifier, pawsWidget* widget );
39  void Update();
40  bool PostSetup();
41 
42  void Draw();
43  void Show();
44  void SetVerify( csArray<psCharVerificationMesg::Attribute> stats,
45  csArray<psCharVerificationMesg::Attribute> skill );
46 
48  bool CheckLoadStatus();
49 
50 private:
51  psCreationManager* createManager;
53  bool redoVerification;
54 
56  bool requestSent;
57 
59  pawsListBox* statsList;
60 
62  pawsListBox* skillsList;
63 
65  bool loaded;
66 
68  pawsObjectView* view;
69 
71  psCharAppearance* charApp;
72 
73 
74  pawsTextBox* serverStatus;
75 };
76 
78 
79 #endif
80 
81 
The main base widget that all other widgets should inherit from.
Definition: pawswidget.h:116
This widget is used to view a mesh in it&#39;s own seperate world.
void SetVerify(csArray< psCharVerificationMesg::Attribute > stats, csArray< psCharVerificationMesg::Attribute > skill)
bool OnButtonReleased(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is released.
A manager class that handles all the details of a characters appearance.
Definition: charapp.h:65
CREATE_PAWS_FACTORY(pawsSummaryWindow)
bool CheckLoadStatus()
loads the mesh in the char view
void Draw()
Draws the widget and all of it&#39;s children.
A simple list box widget.
Definition: pawslistbox.h:202
bool PostSetup()
This is called after the widget and all of it&#39;s children have been created.
void Show()
Makes widget visible and brings it to the front.
Char creation screen to summarize all choices made in the previous char creation screens.
Definition: pawssummary.h:33
A basic text box widget.
Definition: pawstextbox.h:42
Handles all the details of the character creation on the client side.
Definition: psclientchar.h:261