Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
powersform.hpp
1 //////////////////////////////
2 //
3 // File: swce/powersform.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 24 2013
9 // This file is part of Project Labyrinth
10 // This file is going to be released under terms of GNU GPL in near future
11 //
12 //////////////////////////////
13 
14 #ifndef _SWCE_POWERS_ED_FORM_
15 #define _SWCE_POWERS_ED_FORM_
16 #include "swce/optionsform.hpp"
17 namespace LxS
18 {
19  namespace Windowing
20  {
21  class Label;
22  class Button;
23  }
24 }
25 
26 namespace SWCE {
27  class PowerView;
28  class PowersPtsLeft; // a label
29  //! form representing set of powers posessed by particular character
30  class PowersForm: public OptionsForm
31  {
32  PowerView * hv;
33  public:
34  //! see power (description, options)
36  //! remove power from character sheet
37  void RevokePower(LxS::Windowing::Button * b, const std::string & n);
38  //! add power to form (not to character sheet; it is assumed to be added to character sheet somewhere else)
39  void AddPower(const std::string & n);
40  //! constructor
42  };
43 }
44 #endif