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

20 lines
455 B
C
Raw Normal View History

2013-09-15 22:38:38 +02:00
/*
* Toxic -- Tox Curses Client
*/
#define SIDEBAR_WIDTH 16
#define CHATBOX_HEIGHT 4
/* Limits # of peers in sidepanel (make this go away) */
2013-11-26 00:49:31 +01:00
#define MAX_GROUP_PEERS 500
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);