summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/hotlist.h7
-rw-r--r--src/common/weeconfig.c7
-rw-r--r--src/common/weeconfig.h1
3 files changed, 13 insertions, 2 deletions
diff --git a/src/common/hotlist.h b/src/common/hotlist.h
index d6d43efd6..f6779e932 100644
--- a/src/common/hotlist.h
+++ b/src/common/hotlist.h
@@ -23,12 +23,17 @@
#include "../irc/irc.h"
+#define HOTLIST_LOW 0
+#define HOTLIST_MSG 1
+#define HOTLIST_PRIVATE 2
+#define HOTLIST_HIGHLIGHT 3
+
typedef struct t_weechat_hotlist t_weechat_hotlist;
struct t_weechat_hotlist
{
int priority; /* 0=crappy msg (join/part), 1=msg, */
- /* 2=nick highlight */
+ /* 2=pv, 3=nick highlight */
t_gui_buffer *buffer; /* associated buffer */
t_weechat_hotlist *prev_hotlist; /* link to previous hotlist */
t_weechat_hotlist *next_hotlist; /* link to next hotlist */
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index dbbe51c8f..aefe60edb 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -203,6 +203,7 @@ int cfg_col_chat_bg;
int cfg_col_status;
int cfg_col_status_delimiters;
int cfg_col_status_data_msg;
+int cfg_col_status_data_private;
int cfg_col_status_data_highlight;
int cfg_col_status_data_other;
int cfg_col_status_more;
@@ -305,10 +306,14 @@ t_config_option weechat_options_colors[] =
N_("color for window with new messages (status bar)"),
OPTION_TYPE_COLOR, 0, 0, 0,
"yellow", NULL, &cfg_col_status_data_msg, NULL, &config_change_color },
+ { "col_status_private", N_("color for window with private message"),
+ N_("color for window with private message (status bar)"),
+ OPTION_TYPE_COLOR, 0, 0, 0,
+ "lightmagenta", NULL, &cfg_col_status_data_private, NULL, &config_change_color },
{ "col_status_highlight", N_("color for window with highlight"),
N_("color for window with highlight (status bar)"),
OPTION_TYPE_COLOR, 0, 0, 0,
- "lightmagenta", NULL, &cfg_col_status_data_highlight, NULL, &config_change_color },
+ "lightred", NULL, &cfg_col_status_data_highlight, NULL, &config_change_color },
{ "col_status_data_other", N_("color for window with new data (not messages)"),
N_("color for window with new data (not messages) (status bar)"),
OPTION_TYPE_COLOR, 0, 0, 0,
diff --git a/src/common/weeconfig.h b/src/common/weeconfig.h
index 5a8c98684..244cf3bc9 100644
--- a/src/common/weeconfig.h
+++ b/src/common/weeconfig.h
@@ -117,6 +117,7 @@ extern int cfg_col_chat_bg;
extern int cfg_col_status;
extern int cfg_col_status_delimiters;
extern int cfg_col_status_data_msg;
+extern int cfg_col_status_data_private;
extern int cfg_col_status_data_highlight;
extern int cfg_col_status_data_other;
extern int cfg_col_status_more;