summaryrefslogtreecommitdiff
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-23 16:45:10 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-23 16:45:10 +0200
commit26af85d97ba1ed0ade6cdd41890ca04ed879b9c7 (patch)
treec34204de31a63785f2801279402fee3fc84ee9b2 /src/gui_photon.c
parenteeac67788677a9ea81bcab69f81b4fc22c2adc00 (diff)
downloadvim-git-26af85d97ba1ed0ade6cdd41890ca04ed879b9c7.tar.gz
patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755
Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color.
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c
index 593be56fb..faed61d7b 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -1986,6 +1986,12 @@ gui_mch_get_color(char_u *name)
return gui_get_color_cmn(name);
}
+ guicolor_T
+gui_mch_get_rgb_color(int r, int g, int b)
+{
+ return gui_get_rgb_color_cmn(r, g, b);
+}
+
void
gui_mch_set_fg_color(guicolor_T color)
{