annotate Renderer/Engine/Button.h @ 987:6c3dffa8996f draft akira

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:19:33 +0900
parents 3bc98f6d31ff
children d8eca90afa21
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_BUTTON
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_BUTTON
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
4 class Button {
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5 public:
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 int push;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7 int hold;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 int release;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10 Button(void) : push(0), hold(0), release(0) {}
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 void push_work(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13 void release_work(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 int isPush(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15 int isHold(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16 int isRelease(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
17 };
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
18
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
19 #endif