annotate Renderer/Engine/Button.h @ 591:65e52fd2c2e2 draft

send linda not work...
author kazz@kazzone.st.ie.u-ryukyu.ac.jp
date Sun, 01 Nov 2009 06:14:52 +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