1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-24 19:03:14 +01:00

allow groupchat sidebar to scroll

This commit is contained in:
Jfreegman
2013-12-03 03:44:02 -05:00
parent ba750753a5
commit 1a86327f9f
3 changed files with 31 additions and 13 deletions

View File

@@ -3,11 +3,13 @@
*/
#define SIDEBAR_WIDTH 16
#define SDBAR_OFST 2 /* Offset for the peer number box at the top of the statusbar */
typedef struct {
int chatwin;
bool active;
int num_peers;
int side_pos; /* current position of the sidebar - used for scrolling up and down */
uint8_t *peer_names;
uint8_t *oldpeer_names;
} GroupChat;