1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 00:36:35 +01:00

alert user when name is mentioned in groupchat

This commit is contained in:
Jfreegman
2013-12-06 19:41:53 -05:00
parent ce45580c83
commit f942982f4e
5 changed files with 45 additions and 13 deletions

View File

@@ -44,7 +44,9 @@ enum {
BLACK,
};
/* tab alert types: lower types take priority */
enum {
WINDOW_ALERT_0,
WINDOW_ALERT_1,
WINDOW_ALERT_2,
};
@@ -79,6 +81,7 @@ struct ToxWindow {
char name[TOX_MAX_NAME_LENGTH];
bool active;
bool alert0;
bool alert1;
bool alert2;
int num;