1 #ifndef PAGECREATURES_H
2 #define PAGECREATURES_H
3 
4 #include "page.h"
5 
6 /** Forward Declarations **/
7 class DFCreatures;
8 class wxWindow;
9 class wxTextCtrl;
10 class wxComboBox;
11 class wxSpinCtrl;
12 class wxListBox;
13 class wxArrayString;
14 class wxListView;
15 class ListAddDel;
16 
17 class PageCreatures : public Page
18 {
19 protected:
20 
21 public:
22 	DFCreatures *dfCreatures;
23 
24 public:
25 	PageCreatures();
26 	virtual ~PageCreatures();
27 
28 	void Init(wxNotebook*, DF*);
29 
30 	void UpdatePage();
31 
32 /*	void LoadAll();*/
33 /*	void SaveAll();*/
34 	void GetCurrent();
35 	void SetCurrent();
36 	void ClearCurrent();
37 
38 	void OnAddSkill();
39 	void OnDelSkill();
40 
41 protected:
42 	// List of editable controls
43 	wxTextCtrl *nameEdit;
44 	wxTextCtrl *portraitEdit;
45 	wxTextCtrl *md2Edit;
46 	wxTextCtrl *skinEdit;
47 	wxSpinCtrl *levelSpin;
48 	wxSpinCtrl *hpSpin;
49 	wxSpinCtrl *mpSpin;
50 	wxSpinCtrl *armorSpin;
51 	wxSpinCtrl *rarenessSpin;
52 	wxSpinCtrl *speedSpin;
53 	wxTextCtrl *scaleEdit;
54 	wxTextCtrl *npcEdit;
55 	wxSpinCtrl *npcStartXSpin;
56 	wxSpinCtrl *npcStartYSpin;
57 	ListAddDel *invList;
58 	ListAddDel *spellList;
59 
60 	wxListView *skillList;
61 };
62 
63 #endif // PAGECREATURES_H
64