Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

OffsetMessage.h
Go to the documentation of this file.
1
9 #ifndef MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H
10 #define MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H
11
12 #ifndef ZFORCECOMMON_H
13 #error Please include "zForceCommon.h" before this file.
14 #endif // ZFORCECOMMON_H
15
21 struct OffsetMessage
22 {
23 Message;
24 uint32_t OffsetX;
25 bool HasOffsetX;
26 uint32_t OffsetY;
27 bool HasOffsetY;
28 };
29
45 DLLINTERNAL OffsetMessage * OffsetMessage_New (MessageGroup messageGroup, uint32_t size);
46
47 #endif // MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H
48
OffsetMessage::Message
Message
Base Message.
Definition: OffsetMessage.h:23
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:113
OffsetMessage
This structure represents an offset message.
Definition: OffsetMessage.h:21
OffsetMessage::HasOffsetX
bool HasOffsetX
Is the X Offset reported?
Definition: OffsetMessage.h:25
OffsetMessage::OffsetY
uint32_t OffsetY
Y Offset.
Definition: OffsetMessage.h:26
OffsetMessage_New
DLLINTERNAL OffsetMessage * OffsetMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for OffsetMessage.
OffsetMessage::HasOffsetY
bool HasOffsetY
Is the Y Offset reported?
Definition: OffsetMessage.h:27
OffsetMessage::OffsetX
uint32_t OffsetX
X Offset.
Definition: OffsetMessage.h:24