mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 21:16:34 +01:00
Add groupchat side panel & add new callback
This commit is contained in:
@@ -2,4 +2,18 @@
|
||||
* Toxic -- Tox Curses Client
|
||||
*/
|
||||
|
||||
/* The sidebar will take up y/n of the window width where x is the full width of the window */
|
||||
#define SIDEBAR_WIDTH 16
|
||||
#define CHATBOX_HEIGHT 4
|
||||
|
||||
/* Limits # of peers in sidepanel (make this go away) */
|
||||
#define MAX_GROUP_PEERS 100
|
||||
|
||||
typedef struct {
|
||||
int chatwin;
|
||||
bool active;
|
||||
int num_peers;
|
||||
uint8_t peer_names[MAX_GROUP_PEERS][TOX_MAX_NAME_LENGTH];
|
||||
} GroupChat;
|
||||
|
||||
int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum);
|
||||
|
||||
Reference in New Issue
Block a user