1 #ifndef SUBPAGESCHOOLS_H 2 #define SUBPAGESCHOOLS_H 3 4 #include "page.h" 5 6 /** Forward Declarations **/ 7 class DFSpells; 8 class ColorSelector; 9 class wxTextCtrl; 10 class wxStaticText; 11 class wxScrollBar; 12 class wxComboBox; 13 class wxSlider; 14 class wxWindow; 15 class wxListBox; 16 class wxArrayString; 17 class PageSpells; 18 19 class subPageSchools : public Page 20 { 21 protected: 22 23 public: 24 PageSpells *parent; 25 DFSpells *dfSpells; 26 27 public: 28 subPageSchools(); 29 virtual ~subPageSchools(); 30 Init(wxNotebook *,DF *)31 void Init(wxNotebook*, DF*) {} // DO NOT USE 32 void Init(wxNotebook*, DF*, PageSpells*); 33 34 void UpdatePage(); 35 36 void New(); 37 38 void UpdatePageNumber(); 39 40 void GetCurrent(); 41 void SetCurrent(); 42 void ClearCurrent(); 43 44 void OnAddMessage(); 45 void OnDelMessage(); 46 47 protected: 48 ColorSelector *colorSelector; 49 50 // List of editable controls 51 wxTextCtrl *nameEdit; 52 wxTextCtrl *deityEdit; 53 wxTextCtrl *skillEdit; 54 wxTextCtrl *resistSkillEdit; 55 wxSlider *rColorSlider; 56 wxSlider *gColorSlider; 57 wxSlider *bColorSlider; 58 wxStaticText *rColorText; 59 wxStaticText *gColorText; 60 wxStaticText *bColorText; 61 wxTextCtrl *symbolEdit; 62 wxTextCtrl *descEdit; 63 wxListBox *donationList; 64 }; 65 66 #endif // SUBPAGESCHOOLS_H 67