1 #ifndef SUBPAGESKILLS_H
2 #define SUBPAGESKILLS_H
3 
4 #include "page.h"
5 
6 /** Forward Declarations **/
7 class PageRpg;
8 class DFRpg;
9 class Skill;
10 class wxWindow;
11 class wxNotebook;
12 class wxTextCtrl;
13 class wxComboBox;
14 class wxListBox;
15 class wxArrayString;
16 class wxStaticText;
17 class wxSpinCtrl;
18 class wxString;
19 class ListAddDel;
20 
21 class subPageSkills : public Page
22 {
23 protected:
24 
25 public:
26 	PageRpg *parent;
27 	DFRpg *dfRpg;
28 	Skill *currentSkill;
29 	wxString *currentSkillName;
30 
31 public:
32 	subPageSkills();
33 	virtual ~subPageSkills();
34 
Init(wxNotebook *,DF *)35 	void Init(wxNotebook*, DF*) {}		// DO NOT USE
36 	void Init(wxNotebook*, DF*, PageRpg*);
37 
38 	void UpdatePage();
39 
40 	void GetCurrent();
41 	void SetCurrent();
42 	void GetSkill();
43 	void SetSkill();
44 	void ClearCurrent();
45 
46 	Skill* GetSelectedSkill();
47 
48 	void OnSkillChange();
49 
50 protected:
51 	// List of editable controls
52 	wxTextCtrl *nameEdit;
53 	wxTextCtrl *descEdit;
54 	wxTextCtrl *symbolEdit;
55 	wxTextCtrl *skillDescEdit;
56 	wxSpinCtrl *multiplierSpin;
57 	wxStaticText *multiplierText;
58 
59 	ListAddDel *skillList;
60 		wxStaticText *skillNameText;
61 	ListAddDel *statList;
62 
63 };
64 
65 #endif // SUBPAGESKILLS_H
66