FDOSTUI
FreeDOS Text User Interface
event.h
Go to the documentation of this file.
1 /*
2  EVENT.H
3 
4  License CC0 PUBLIC DOMAIN
5 
6  To the extent possible under law, Mark J. Olesen has waived all copyright
7  and related or neighboring rights to FDOSTUI Library. This work is published
8  from: United States.
9 */
10 #ifndef __event_h__
11 
12 #include "keyboard.h"
13 
15 {
21 };
22 
23 struct event_key
24 {
25  unsigned char m_ascii;
27 };
28 
30 {
35 };
36 
38 {
39  unsigned int m_pos_x;
40  unsigned int m_pos_y;
42 };
43 
45 {
46  unsigned int m_len_x;
47  unsigned int m_len_y;
48 };
49 
50 #define __event_h__
51 #endif
Definition: event.h:17
Definition: event.h:20
scancodes
ASCII Scan Codes.
Definition: keyboard.h:26
keyboard enumerations and utility routines
enum scancodes m_scan
Definition: event.h:26
enum mouse_state m_state
Definition: event.h:41
Definition: event.h:31
Definition: event.h:19
Definition: event.h:16
Definition: event.h:32
mouse_state
mouse state
Definition: event.h:29
Definition: event.h:18
unsigned char m_ascii
Definition: event.h:25
event_response
response
Definition: event.h:14
container for a resize event
Definition: event.h:44
unsigned int m_pos_x
Definition: event.h:39
unsigned int m_pos_y
Definition: event.h:40
Definition: event.h:33
unsigned int m_len_y
Definition: event.h:47
Definition: event.h:34
unsigned int m_len_x
Definition: event.h:46
container for a mouse event
Definition: event.h:37
container for a keyboard event
Definition: event.h:23