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
17
struct
wb_button
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
32
wb_button
&
operator=
(
const
wb_button
&other) {
33
_is_pressed = other._is_pressed;
34
return
*
this
;
35
}
36
#endif
37
38
};
39
#endif
//wb_button_h
wb_button
/file wb_button.h
Definition:
wb_button.h:18
wb_button::operator=
wb_button & operator=(const wb_button &other)
Assignment Operator.
Definition:
wb_button.h:32
wb_button::PROPERTY
PROPERTY(bool, is_pressed) wb_button()
Default constructor.
Definition:
wb_button.h:19
wb_button::wb_button
wb_button(const wb_button &other)
Copy Constructor.
Definition:
wb_button.h:27
typeClassDefs
wb_button.h
Generated by
1.9.2