diff options
Diffstat (limited to 'testing/toxic/windows.h')
-rw-r--r-- | testing/toxic/windows.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/toxic/windows.h b/testing/toxic/windows.h index 2e082ca9..dde1430f 100644 --- a/testing/toxic/windows.h +++ b/testing/toxic/windows.h | |||
@@ -1,10 +1,23 @@ | |||
1 | /* | ||
2 | * Toxic -- Tox Curses Client | ||
3 | */ | ||
4 | |||
5 | #include <stdbool.h> | ||
6 | |||
1 | typedef struct ToxWindow_ ToxWindow; | 7 | typedef struct ToxWindow_ ToxWindow; |
2 | 8 | ||
3 | struct ToxWindow_ { | 9 | struct ToxWindow_ { |
4 | void(*onKey)(ToxWindow*, int); | 10 | void(*onKey)(ToxWindow*, int); |
5 | void(*onDraw)(ToxWindow*); | 11 | void(*onDraw)(ToxWindow*); |
6 | void(*onInit)(ToxWindow*); | 12 | void(*onInit)(ToxWindow*); |
13 | void(*onFriendRequest)(ToxWindow*, uint8_t*, uint8_t*, uint16_t); | ||
14 | void(*onMessage)(ToxWindow*, int, uint8_t*, uint16_t); | ||
15 | void(*onNickChange)(ToxWindow*, int, uint8_t*, uint16_t); | ||
16 | void(*onStatusChange)(ToxWindow*, int, uint8_t*, uint16_t); | ||
7 | char title[256]; | 17 | char title[256]; |
8 | 18 | ||
19 | void* x; | ||
20 | bool blink; | ||
21 | |||
9 | WINDOW* window; | 22 | WINDOW* window; |
10 | }; | 23 | }; |