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:
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user