1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 20:26:44 +02:00

add popup alert on friend delete

This commit is contained in:
Jfreegman
2014-03-08 23:57:21 -05:00
parent 33e16fe870
commit fe0641e981
5 changed files with 73 additions and 7 deletions

View File

@ -88,6 +88,7 @@ typedef struct ChatContext ChatContext;
struct ToxWindow {
void(*onKey)(ToxWindow *, Tox *, wint_t);
void(*onDraw)(ToxWindow *, Tox *);
void(*onPopup)(ToxWindow *, Tox*);
void(*onInit)(ToxWindow *, Tox *);
void(*onFriendRequest)(ToxWindow *, uint8_t *, uint8_t *, uint16_t);
void(*onFriendAdded)(ToxWindow *, Tox *, int, bool);
@ -124,6 +125,7 @@ struct ToxWindow {
PromptBuf *promptbuf;
StatusBar *stb;
WINDOW *popup;
WINDOW *window;
};