annotate pixmaps/tb_make.xpm @ 34069:170e917524f7 v9.1.0004

patch 9.1.0004: reloading colorscheme when not changing 'background' Commit: https://github.com/vim/vim/commit/83ad2726ff56db70cb2da78e1e4ea0e09941c73b Author: Gregory Anders <greg@gpanders.com> Date: Wed Jan 3 19:48:51 2024 +0100 patch 9.1.0004: reloading colorscheme when not changing 'background' Problem: reloading colorscheme when not changing 'background' Solution: Check, if the background option value actually changed, if not, return early. Only reload colorscheme when bg is changed Currently the highlight groups are re-initialized and the colorscheme (if any) is reloaded anytime 'background' is set, even if it is not changed. This is unnecessary, because if the value was not changed then there is no need to change highlight groups or do anything with the colorscheme. Instead, only reload the colorscheme if the value of 'background' was actually changed. closes: #13700 Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 03 Jan 2024 20:00:06 +0100
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* XPM */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 static char * tb_make_xpm[] = {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 /* width height ncolors cpp [x_hot y_hot] */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 "18 18 4 1 0 0",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 /* colors */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " s none m none c none",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ". s iconColor1 m black c #000000",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "X s iconColor2 m none c #FFFFFF",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "o s bottomShadowColor m black c #5D6069",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /* pixels */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " .. ..... ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " .XX.XXXXX. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " .XXXXXXXXX. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " .Xo.XXXX..X. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " .. ....o .. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " ... . ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " ooo ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " "};