summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-04-26 10:28:59 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-04-26 10:29:30 +0200
commitd322389e0437f5ce68e6b7301d36068214f3db32 (patch)
tree8f3af946065dd980067a39783ac41f95a23f8077 /src/gui
parent0f333ee63018169a7e4e85d469fb3fa9c9df0ab3 (diff)
downloadweechat-d322389e0437f5ce68e6b7301d36068214f3db32.zip
core: add support of full color option name in command /eval and API function string_eval_expression()
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-color.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h
index f8682385b..b67d2876d 100644
--- a/src/gui/gui-color.h
+++ b/src/gui/gui-color.h
@@ -22,6 +22,8 @@
#include <regex.h>
+struct t_config_option;
+
/*
* Color from configuration options.
* When changing some colors below:
@@ -173,6 +175,7 @@ extern struct t_weelist *gui_color_list_with_alias;
/* color functions */
+extern const char *gui_color_from_option (struct t_config_option *option);
extern const char *gui_color_search_config (const char *color_name);
extern int gui_color_attr_get_flag (char c);
extern void gui_color_attr_build_string (int color, char *str_attr);