summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-09-29 20:57:40 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-01 18:31:41 +0200
commit90f711a965356e315c494acc533b62b80d3d0ead (patch)
tree3880b6e09e80c0bbdf7568777c5f14158525e2b6 /src/gui/curses/gui-curses.h
parent177fa6c528031ab77b2f03783e7dcacb3152c3d1 (diff)
downloadweechat-90f711a965356e315c494acc533b62b80d3d0ead.zip
core: add function to convert WeeChat colors to ANSI colors (issue #528)
Diffstat (limited to 'src/gui/curses/gui-curses.h')
-rw-r--r--src/gui/curses/gui-curses.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses.h b/src/gui/curses/gui-curses.h
index de2ac3672..5f938c7f3 100644
--- a/src/gui/curses/gui-curses.h
+++ b/src/gui/curses/gui-curses.h
@@ -91,7 +91,8 @@ extern void gui_main_init ();
extern void gui_main_loop ();
/* color functions */
-extern int gui_color_get_extended_attrs (int color);
+extern int gui_color_get_gui_attrs (int color);
+extern int gui_color_get_extended_flags (int attrs);
extern int gui_color_get_pair (int fg, int bg);
extern int gui_color_weechat_get_pair (int weechat_color);
extern void gui_color_alloc ();