diff options
author | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
---|---|---|
committer | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
commit | f05aa308701f33f3bf9df022a4b376deeedef235 (patch) | |
tree | c10b8a3cca6822400853bfd3bc2c5fd1cca73f83 /testing/toxic/windows.h | |
parent | 8dfba27242ca23fca5de852541f2101568dbf7cb (diff) | |
parent | c558cb63f6db35bd51f2f2331e21df03105ee82a (diff) |
Merge remote-tracking branch 'ProjectTox/master'
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 | }; |