Data Structures | |
struct | D4D_MESSAGE_S |
D4D object messages structure. More... | |
Macros | |
#define | D4D_OBJECT_DRAWFLAGS_COMPLETE |
Draw complete flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_FOCUSED |
Draw fosused state flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_CAPTURING |
Draw capturing state flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_STATE |
Draw just change of state flag. More... | |
Typedefs | |
typedef Byte | D4D_OBJECT_DRAWFLAGS |
Drawing object flags type, handled to object in D4D_MSG_DRAW events. More... | |
typedef struct D4D_MESSAGE_S | D4D_MESSAGE |
D4D object messages structure. More... | |
Enumerations | |
enum | D4D_MSGID { D4D_MSG_NONE, D4D_MSG_ONINIT, D4D_MSG_DRAW, D4D_MSG_DRAWDONE, D4D_MSG_SETFOCUS, D4D_MSG_KILLFOCUS, D4D_MSG_SETCAPTURE, D4D_MSG_KILLCAPTURE, D4D_MSG_KEYUP, D4D_MSG_KEYDOWN, D4D_MSG_TOUCHED, D4D_MSG_TOUCH_AUTO, D4D_MSG_TOUCH_LOST, D4D_MSG_UNTOUCHED, D4D_MSG_MOUSE_BTN_LEFT_DOWN, D4D_MSG_MOUSE_BTN_LEFT_UP, D4D_MSG_MOUSE_BTN_RIGHT_DOWN, D4D_MSG_MOUSE_BTN_RIGHT_UP, D4D_MSG_MOUSE_BTN_MIDDLE_DOWN, D4D_MSG_MOUSE_BTN_MIDDLE_UP, D4D_MSG_MOUSE_BTN_WHEEL_UP, D4D_MSG_MOUSE_BTN_WHEEL_DOWN, D4D_MSG_MOUSE_ENTER, D4D_MSG_MOUSE_LEAVE, D4D_MSG_TIMETICK } |
D4D object messages types enumeration. More... | |
enum | D4D_MSG_HANDLER_ACTION { D4D_MSG_NOSKIP, D4D_MSG_SKIP } |
enum | D4D_EVENTID { D4D_EVENT_ONCLICK, D4D_EVENT_ONDOUBLECLICK, D4D_EVENT_ONCHANGE, D4D_EVENT_ONCHANGEDONE, D4D_EVENT_ONRELOAD, D4D_EVENT_ONCLEAR, D4D_EVENT_CNT } |
D4D events that is handled by object callback functions. More... | |
This section specifies the exact type for each typedef definition.
struct D4D_MESSAGE_S |
Data Fields | |
struct D4D_OBJECT_S * | pObject |
Pointer to object who is receiver of this message. If the receiver is just screen this field must be NULL. More... | |
struct D4D_SCREEN_S * | pScreen |
Pointer to screen who is receiver of this message. More... | |
D4D_MSGID | nMsgId |
Type of message. More... | |
union { | |
D4D_OBJECT_DRAWFLAGS draw | |
Contains draw flags - is valid with D4D_MSG_DRAW and D4D_MSG_DRAWDONE message. More... | |
D4D_KEY_SCANCODE key | |
There will be stored only code of key without release / press information - is valid with D4D_MSG_KEYUP and D4D_MSG_KEYDOWN message. More... | |
} | prm |
Additional data for some type of messages. More... | |
D4D_OBJECT_DRAWFLAGS draw |
Contains draw flags - is valid with D4D_MSG_DRAW and D4D_MSG_DRAWDONE message.
Definition at line 408 of file d4d_base.h.
D4D_KEY_SCANCODE key |
There will be stored only code of key without release / press information - is valid with D4D_MSG_KEYUP and D4D_MSG_KEYDOWN message.
Definition at line 409 of file d4d_base.h.
D4D_MSGID nMsgId |
Type of message.
Definition at line 404 of file d4d_base.h.
struct D4D_OBJECT_S* pObject |
Pointer to object who is receiver of this message. If the receiver is just screen this field must be NULL.
Definition at line 402 of file d4d_base.h.
union { ... } prm |
Additional data for some type of messages.
struct D4D_SCREEN_S* pScreen |
Pointer to screen who is receiver of this message.
Definition at line 403 of file d4d_base.h.
#define D4D_OBJECT_DRAWFLAGS_CAPTURING |
Draw capturing state flag.
Definition at line 363 of file d4d_base.h.
#define D4D_OBJECT_DRAWFLAGS_COMPLETE |
Draw complete flag.
Definition at line 361 of file d4d_base.h.
#define D4D_OBJECT_DRAWFLAGS_FOCUSED |
Draw fosused state flag.
Definition at line 362 of file d4d_base.h.
#define D4D_OBJECT_DRAWFLAGS_STATE |
Draw just change of state flag.
Definition at line 364 of file d4d_base.h.
typedef struct D4D_MESSAGE_S D4D_MESSAGE |
D4D object messages structure.
typedef Byte D4D_OBJECT_DRAWFLAGS |
Drawing object flags type, handled to object in D4D_MSG_DRAW events.
Definition at line 359 of file d4d_base.h.
enum D4D_EVENTID |
D4D events that is handled by object callback functions.
Definition at line 429 of file d4d_base.h.
Definition at line 416 of file d4d_base.h.
enum D4D_MSGID |
D4D object messages types enumeration.
Definition at line 367 of file d4d_base.h.