mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
24 lines
523 B
C
24 lines
523 B
C
/*
|
|
* Toxic -- Tox Curses Client
|
|
*/
|
|
|
|
#include <stdbool.h>
|
|
|
|
typedef struct ToxWindow_ ToxWindow;
|
|
|
|
struct ToxWindow_ {
|
|
void(*onKey)(ToxWindow*, int);
|
|
void(*onDraw)(ToxWindow*);
|
|
void(*onInit)(ToxWindow*);
|
|
void(*onFriendRequest)(ToxWindow*, uint8_t*, uint8_t*, uint16_t);
|
|
void(*onMessage)(ToxWindow*, int, uint8_t*, uint16_t);
|
|
void(*onNickChange)(ToxWindow*, int, uint8_t*, uint16_t);
|
|
void(*onStatusChange)(ToxWindow*, int, uint8_t*, uint16_t);
|
|
char title[256];
|
|
|
|
void* x;
|
|
bool blink;
|
|
|
|
WINDOW* window;
|
|
};
|