Source/Gorgon/Input.h

Tue, 06 Jul 2021 10:22:49 +0300

author
cemkalyoncu
date
Tue, 06 Jul 2021 10:22:49 +0300
branch
4.x-dev
changeset 1701
b168349a931d
parent 1443
11fc019aa4ae
permissions
-rw-r--r--

* Image/Bitmap rotate

764
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
1 #pragma once
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
2
899
891174a62433 * A bug in unit test event is fixed, precautions have placed not to make similar
cemkalyoncu
parents: 898
diff changeset
3 #include <assert.h>
891174a62433 * A bug in unit test event is fixed, precautions have placed not to make similar
cemkalyoncu
parents: 898
diff changeset
4
764
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
5 #include "Event.h"
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
6 #include "Containers/Collection.h"
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
7
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
8 namespace Gorgon {
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
9
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
10 /// This namespace contains general input related functionality.
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
11 /// Also check Gorgon::Keyboard and Gorgon::Mouse.
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
12 namespace Input {
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
13 /// A type to represent an input key
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
14 typedef int Key;
1443
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
15
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
16
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
17 /// During keyevent this variable can be set to true, if done so, it
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
18 /// will allow character events even if key event is handled. However,
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
19 /// doing so will not direct the up event to the handler directly.
11fc019aa4ae * A sneaky spacing bug
cemkalyoncu
parents: 1314
diff changeset
20 extern bool AllowCharEvent;
764
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
21
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
22 }
7c71952bd75b Gorgon code base has been moved to Source/Gorgon
cengizkandemir
parents:
diff changeset
23 }

mercurial