gusimplewhiteboard
wb_button.h
Go to the documentation of this file.
1
9#ifndef wb_button_h
10#define wb_button_h
11
12#include <gu_util.h>
13
18{
19 PROPERTY(bool, is_pressed)
20
21#ifdef __cplusplus
23 wb_button() : _is_pressed(false) {}
24 /* _padding(0) // Not needed I think */
25
27 wb_button(const wb_button &other) :
28 _is_pressed(other._is_pressed)
29 {}
30
33 _is_pressed = other._is_pressed;
34 return *this;
35 }
36#endif
37
38};
39#endif //wb_button_h
/file wb_button.h
Definition: wb_button.h:18
wb_button & operator=(const wb_button &other)
Assignment Operator.
Definition: wb_button.h:32
PROPERTY(bool, is_pressed) wb_button()
Default constructor.
Definition: wb_button.h:19
wb_button(const wb_button &other)
Copy Constructor.
Definition: wb_button.h:27