summaryrefslogtreecommitdiff
path: root/src/gui/gui-color.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-06-09 08:53:50 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-06-09 08:53:50 +0200
commit200652836b817749f69f1058e7387fa92b4edeac (patch)
treef4a04a91d1224ded66d336cf6fdc7e6cc049ff18 /src/gui/gui-color.h
parent2a00de476ed6c90dde94ddc8962b463bbcb81999 (diff)
downloadweechat-200652836b817749f69f1058e7387fa92b4edeac.zip
core: add options to use different color for offline nicks in prefix (patch from Nei) (task #11109)
New options: - weechat.look.color_nick_offline: boolean to enable feature (off by default) - weechat.color.chat_nick_offline: color for offline nicks (displayed in prefix)
Diffstat (limited to 'src/gui/gui-color.h')
-rw-r--r--src/gui/gui-color.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h
index 963f6e4d2..59c8ebc74 100644
--- a/src/gui/gui-color.h
+++ b/src/gui/gui-color.h
@@ -21,8 +21,12 @@
#define __WEECHAT_GUI_COLOR_H 1
/*
- * Color from options
- * (when changing something here, please update the Developer's guide)
+ * Color from configuration options.
+ * When changing some colors below:
+ * - always add to the end
+ * - never remove a color (mark it as obsolete if needed)
+ * - do not re-use an obsolete color
+ * - update the Developer's guide
*/
enum t_gui_color_enum
@@ -70,6 +74,7 @@ enum t_gui_color_enum
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_BUFFER,
+ GUI_COLOR_CHAT_NICK_OFFLINE,
/* number of colors */
GUI_COLOR_NUM_COLORS,