1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-24 20:26:52 +02:00

implement group titles

This commit is contained in:
Jfreegman
2014-11-14 22:15:59 -05:00
parent dd8c2caac7
commit 76c21c8b34
16 changed files with 193 additions and 26 deletions

View File

@@ -37,7 +37,7 @@
#include "toxic.h"
#define MAX_WINDOWS_NUM 32
#define MAX_WINDOW_NAME_LENGTH 16
#define MAX_WINDOW_NAME_LENGTH 20
#define CURS_Y_OFFSET 1 /* y-axis cursor offset for chat contexts */
#define CHATBOX_HEIGHT 2
@@ -117,6 +117,7 @@ struct ToxWindow {
void(*onGroupAction)(ToxWindow *, Tox *, int, int, const char *, uint16_t);
void(*onGroupInvite)(ToxWindow *, Tox *, int32_t, uint8_t, const char *, uint16_t);
void(*onGroupNamelistChange)(ToxWindow *, Tox *, int, int, uint8_t);
void(*onGroupTitleChange)(ToxWindow *, Tox *, int, int, const char *, uint8_t);
void(*onFileSendRequest)(ToxWindow *, Tox *, int32_t, uint8_t, uint64_t, const char *, uint16_t);
void(*onFileControl)(ToxWindow *, Tox *, int32_t, uint8_t, uint8_t, uint8_t, const char *, uint16_t);
void(*onFileData)(ToxWindow *, Tox *, int32_t, uint8_t, const char *, uint16_t);