Simple SFML GUI  0.2a
CBAssigner.hpp
1 #ifndef CBASSIGNER_HPP
2 #define CBASSIGNER_HPP
3 
4 #include <iostream>
5 #include "Enums.hpp"
6 
7 class Checkbox;
8 
9 class CBAssigner {
10 protected:
11  Checkbox& checkbox;
12  bool *variable;
13 
14 public:
15  void operator()();
16  CBAssigner(Checkbox& cb);
17  void setVariable(bool* value);
18  bool isActive()const;
19 };
20 
21 #endif // CBASSIGNER_HPP
Definition: CBAssigner.hpp:9
Definition: Checkbox.hpp:24