1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 16:57:46 +02:00
toxic/src/groupchat.h

22 lines
523 B
C
Raw Normal View History

2013-09-15 22:38:38 +02:00
/*
* Toxic -- Tox Curses Client
*/
#define SIDEBAR_WIDTH 16
2013-11-26 23:39:11 +01:00
/* If this limit is reached the chat will still work
but the side panel and channel updates will be frozen.
TODO: Make this not necessary */
#define MAX_GROUP_PEERS 1000
typedef struct {
int chatwin;
bool active;
int num_peers;
uint8_t peer_names[MAX_GROUP_PEERS][TOX_MAX_NAME_LENGTH];
2013-11-26 00:49:31 +01:00
uint8_t oldpeer_names[MAX_GROUP_PEERS][TOX_MAX_NAME_LENGTH];
} GroupChat;
2013-09-17 12:03:08 +02:00
int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum);