summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-08 02:00:20 -0400
committermidipix <writeonce@midipix.org>2016-07-08 02:00:20 -0400
commite99940eb80de83a1d7edbb2ca5c0c933e1ffb8cc (patch)
tree8f8ccb9951fd9ec026c730f736fdd8e88c2867ca /include
parent0822abe10f6cd4a725ab5daf1e2d620487860c28 (diff)
downloadntcon-e99940eb80de83a1d7edbb2ca5c0c933e1ffb8cc.tar.bz2
ntcon-e99940eb80de83a1d7edbb2ca5c0c933e1ffb8cc.tar.xz
ntcon.h: simplified structure definitions.
Diffstat (limited to 'include')
-rw-r--r--include/ntcon/ntcon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ntcon/ntcon.h b/include/ntcon/ntcon.h
index 98f4370..95b19dd 100644
--- a/include/ntcon/ntcon.h
+++ b/include/ntcon/ntcon.h
@@ -146,7 +146,7 @@ typedef struct _nt_char_info {
union {
wchar16_t unicode_char;
char ascii_char;
- } uchar;
+ };
uint16_t attributes;
} nt_char_info;
@@ -191,7 +191,7 @@ typedef struct _nt_key_event_record {
union {
wchar16_t unicode_char;
char ascii_char;
- } uchar;
+ };
uint32_t control_key_state;
} nt_key_event_record;
@@ -226,10 +226,10 @@ typedef struct _nt_input_record {
union {
nt_key_event_record key_event;
nt_mouse_event_record mouse_event;
- nt_window_buffer_size_record window_buffer_size_event;
+ nt_window_buffer_size_record window_event;
nt_menu_event_record menu_event;
nt_focus_event_record focus_event;
- } event;
+ };
} nt_input_record;