2013-09-15 22:38:38 +02:00
|
|
|
/*
|
|
|
|
* Toxic -- Tox Curses Client
|
|
|
|
*/
|
|
|
|
|
2013-11-24 03:19:59 +01:00
|
|
|
#define SIDEBAR_WIDTH 16
|
2013-12-03 09:44:02 +01:00
|
|
|
#define SDBAR_OFST 2 /* Offset for the peer number box at the top of the statusbar */
|
2013-11-24 03:19:59 +01:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int chatwin;
|
|
|
|
bool active;
|
|
|
|
int num_peers;
|
2013-12-03 09:44:02 +01:00
|
|
|
int side_pos; /* current position of the sidebar - used for scrolling up and down */
|
2013-11-27 02:45:08 +01:00
|
|
|
uint8_t *peer_names;
|
|
|
|
uint8_t *oldpeer_names;
|
2013-11-24 03:19:59 +01:00
|
|
|
} GroupChat;
|
|
|
|
|
2013-09-17 12:03:08 +02:00
|
|
|
int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum);
|
2013-11-30 00:52:21 +01:00
|
|
|
ToxWindow new_group_chat(Tox *m, int groupnum);
|