Mercurial > vim
comparison src/gui_w32.c @ 11745:5a5709918a98 v8.0.0755
patch 8.0.0755: terminal window does not have colors in the GUI
commit https://github.com/vim/vim/commit/26af85d97ba1ed0ade6cdd41890ca04ed879b9c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 23 16:45:10 2017 +0200
patch 8.0.0755: terminal window does not have colors in the GUI
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Jul 2017 17:00:04 +0200 |
parents | db21cc7b40f0 |
children | 8ad282dee649 |
comparison
equal
deleted
inserted
replaced
11744:44adc1cc0cdd | 11745:5a5709918a98 |
---|---|
1593 for (i = 0; i < sizeof(sys_table) / sizeof(sys_table[0]); i++) | 1593 for (i = 0; i < sizeof(sys_table) / sizeof(sys_table[0]); i++) |
1594 if (STRICMP(name, sys_table[i].name) == 0) | 1594 if (STRICMP(name, sys_table[i].name) == 0) |
1595 return GetSysColor(sys_table[i].color); | 1595 return GetSysColor(sys_table[i].color); |
1596 | 1596 |
1597 return gui_get_color_cmn(name); | 1597 return gui_get_color_cmn(name); |
1598 } | |
1599 | |
1600 guicolor_T | |
1601 gui_mch_get_rgb_color(int r, int g, int b) | |
1602 { | |
1603 return gui_get_rgb_color_cmn(r, g, b); | |
1598 } | 1604 } |
1599 | 1605 |
1600 /* | 1606 /* |
1601 * Return OK if the key with the termcap name "name" is supported. | 1607 * Return OK if the key with the termcap name "name" is supported. |
1602 */ | 1608 */ |