Qt5 applications draw a white close glyph on top of the toolbar button background for its Qt5QWindowIcon window class. Before this patch, the toolbar button background was also white, so the close glyph was not distinguishable from the background. On Windows 10, the toolbar button background has a light blue color with transparency at the center, so let's make the center of the toolbar button background of light.msstyles transparent as well.
From: Zhiyi Zhang zzhang@codeweavers.com
Qt5 applications draw a white close glyph on top of the toolbar button background for its Qt5QWindowIcon window class. Before this patch, the toolbar button background was also white, so the close glyph was not distinguishable from the background. On Windows 10, the toolbar button background has a light blue color with transparency at the center, so let's make the center of the toolbar button background of light.msstyles transparent as well. --- dlls/light.msstyles/blue_toolbar_buttons.svg | 20 +++++++++---------- .../blue_toolbar_buttons_split.svg | 14 ++++++------- .../blue_toolbar_buttons_split_dropdown.svg | 14 ++++++------- 3 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/dlls/light.msstyles/blue_toolbar_buttons.svg b/dlls/light.msstyles/blue_toolbar_buttons.svg index 0bb0982ac46..1a718d9e413 100644 --- a/dlls/light.msstyles/blue_toolbar_buttons.svg +++ b/dlls/light.msstyles/blue_toolbar_buttons.svg @@ -8,18 +8,18 @@ </cc:Work> </rdf:RDF> </metadata> - <g stroke-linejoin="bevel" stroke-width=".26458"> - <rect x=".13229" y="4.8948" width="1.5875" height="4.4979" rx=".52917" ry=".52917" fill="#fffffe" stroke="#3096fa" stroke-width=".26458"/> - <rect x=".13227" y="33.47" width="1.5875" height="4.4979" rx=".52917" ry=".52917" fill="#fffffe" stroke="#3096fa" stroke-width=".26458"/> - <g fill="#fff"> - <g transform="translate(0 -2.1167)"> - <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458"/> + <g stroke-linejoin="bevel" stroke-width=".26458" style="fill:none"> + <rect x=".13229" y="4.8948" width="1.5875" height="4.4979" rx=".52917" ry=".52917" fill="#fffffe" stroke="#3096fa" stroke-width=".26458" style="fill:none"/> + <rect x=".13227" y="33.47" width="1.5875" height="4.4979" rx=".52917" ry=".52917" fill="#fffffe" stroke="#3096fa" stroke-width=".26458" style="fill:none"/> + <g fill="#fff" style="fill:none"> + <g transform="translate(0 -2.1167)" style="fill:none"> + <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458" style="fill:none"/> </g> - <g transform="translate(-1.9467e-5 7.4083)"> - <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458"/> + <g transform="translate(-1.9467e-5 7.4083)" style="fill:none"> + <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458" style="fill:none"/> </g> - <g transform="translate(-1.9467e-5 12.171)"> - <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458"/> + <g transform="translate(-1.9467e-5 12.171)" style="fill:none"> + <rect x=".13229" y="11.774" width="1.5875" height="4.4979" rx=".52917" ry=".42836" stroke="#2979ff" stroke-width=".26458" style="fill:none"/> </g> </g> </g> diff --git a/dlls/light.msstyles/blue_toolbar_buttons_split.svg b/dlls/light.msstyles/blue_toolbar_buttons_split.svg index 1f6f88fa156..f0a38b03b33 100644 --- a/dlls/light.msstyles/blue_toolbar_buttons_split.svg +++ b/dlls/light.msstyles/blue_toolbar_buttons_split.svg @@ -8,13 +8,13 @@ </cc:Work> </rdf:RDF> </metadata> - <g fill="#fff" stroke-linejoin="bevel" stroke-width=".26458"> - <rect x=".13229" y="4.8948" width="1.3229" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa"/> - <rect x=".13229" y="33.47" width="1.3229" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa"/> - <g stroke="#2979ff"> - <rect x=".13229" y="9.6573" width="1.3229" height="4.4979" rx=".52917" ry=".52917"/> - <rect x=".13229" y="19.182" width="1.3229" height="4.4979" rx=".52917" ry=".52917"/> - <rect x=".13229" y="23.945" width="1.3229" height="4.4979" rx=".52917" ry=".52917"/> + <g fill="#fff" stroke-linejoin="bevel" stroke-width=".26458" style="fill:none"> + <rect x=".13229" y="4.8948" width="1.3229" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa" style="fill:none"/> + <rect x=".13229" y="33.47" width="1.3229" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa" style="fill:none"/> + <g stroke="#2979ff" style="fill:none"> + <rect x=".13229" y="9.6573" width="1.3229" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> + <rect x=".13229" y="19.182" width="1.3229" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> + <rect x=".13229" y="23.945" width="1.3229" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> </g> </g> </svg> diff --git a/dlls/light.msstyles/blue_toolbar_buttons_split_dropdown.svg b/dlls/light.msstyles/blue_toolbar_buttons_split_dropdown.svg index c69cfd4424c..bdc653d13b4 100644 --- a/dlls/light.msstyles/blue_toolbar_buttons_split_dropdown.svg +++ b/dlls/light.msstyles/blue_toolbar_buttons_split_dropdown.svg @@ -8,13 +8,13 @@ </cc:Work> </rdf:RDF> </metadata> - <g fill="#fff" stroke-linejoin="bevel" stroke-width=".26458"> - <rect x=".13229" y="4.8948" width="1.0583" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa"/> - <rect x=".13228" y="33.47" width="1.0583" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa"/> - <g stroke="#2979ff"> - <rect x=".13229" y="9.6573" width="1.0583" height="4.4979" rx=".52917" ry=".52917"/> - <rect x=".13228" y="19.182" width="1.0583" height="4.4979" rx=".52917" ry=".52917"/> - <rect x=".13228" y="23.945" width="1.0583" height="4.4979" rx=".52917" ry=".52917"/> + <g fill="#fff" stroke-linejoin="bevel" stroke-width=".26458" style="fill:none"> + <rect x=".13229" y="4.8948" width="1.0583" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa" style="fill:none"/> + <rect x=".13228" y="33.47" width="1.0583" height="4.4979" rx=".52917" ry=".52917" stroke="#3096fa" style="fill:none"/> + <g stroke="#2979ff" style="fill:none"> + <rect x=".13229" y="9.6573" width="1.0583" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> + <rect x=".13228" y="19.182" width="1.0583" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> + <rect x=".13228" y="23.945" width="1.0583" height="4.4979" rx=".52917" ry=".52917" style="fill:none"/> </g> </g> </svg>