Zhiyi Zhang : light.msstyles: Add Header parts.
Alexandre Julliard
julliard at winehq.org
Mon Jun 28 16:49:35 CDT 2021
Module: wine
Branch: master
Commit: a0debf126f2faecb5b108f588316ef2845a7ebf6
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a0debf126f2faecb5b108f588316ef2845a7ebf6
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Mon Jun 28 10:29:52 2021 +0800
light.msstyles: Add Header parts.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/light.msstyles/Makefile.in | 2 ++
dlls/light.msstyles/blue_header.bmp | Bin 0 -> 618 bytes
dlls/light.msstyles/blue_header.svg | 21 +++++++++++++++++
dlls/light.msstyles/blue_header_item.bmp | Bin 0 -> 2538 bytes
dlls/light.msstyles/blue_header_item.svg | 39 +++++++++++++++++++++++++++++++
dlls/light.msstyles/light.rc | 24 +++++++++++++++++++
6 files changed, 86 insertions(+)
diff --git a/dlls/light.msstyles/Makefile.in b/dlls/light.msstyles/Makefile.in
index c0b55dd966d..f5bbb77df04 100644
--- a/dlls/light.msstyles/Makefile.in
+++ b/dlls/light.msstyles/Makefile.in
@@ -13,6 +13,8 @@ SVG_SRCS = \
blue_commandlink_glyph_30px.svg \
blue_commandlink_glyph_45px.svg \
blue_groupbox.svg \
+ blue_header.svg \
+ blue_header_item.svg \
blue_radiobutton_13px.svg \
blue_radiobutton_16px.svg \
blue_radiobutton_25px.svg \
diff --git a/dlls/light.msstyles/blue_header.bmp b/dlls/light.msstyles/blue_header.bmp
new file mode 100644
index 00000000000..fb81a657aa9
Binary files /dev/null and b/dlls/light.msstyles/blue_header.bmp differ
diff --git a/dlls/light.msstyles/blue_header.svg b/dlls/light.msstyles/blue_header.svg
new file mode 100644
index 00000000000..46046e1e454
--- /dev/null
+++ b/dlls/light.msstyles/blue_header.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="bitmap:6-24" width="6" height="24" version="1.1" viewBox="0 0 1.5875 6.35" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <metadata>
+ <rdf:RDF>
+ <cc:Work rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <dc:title/>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g stroke-width="0">
+ <rect width="1.5875" height="6.35" fill="#fff"/>
+ <g fill="#aeaeae">
+ <rect x="1.3229" y="3.1988e-7" width=".26458" height="6.0854"/>
+ <rect transform="rotate(90)" x="5.8208" y="-1.3229" width=".26458" height="1.3229"/>
+ <rect x="-1.5895e-8" width=".26458" height="6.0854"/>
+ <rect transform="rotate(90)" x="2.2252e-7" y="-1.3229" width=".26458" height="1.3229"/>
+ </g>
+ </g>
+</svg>
diff --git a/dlls/light.msstyles/blue_header_item.bmp b/dlls/light.msstyles/blue_header_item.bmp
new file mode 100644
index 00000000000..3a381109f57
Binary files /dev/null and b/dlls/light.msstyles/blue_header_item.bmp differ
diff --git a/dlls/light.msstyles/blue_header_item.svg b/dlls/light.msstyles/blue_header_item.svg
new file mode 100644
index 00000000000..642db57b60f
--- /dev/null
+++ b/dlls/light.msstyles/blue_header_item.svg
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="bitmap:6-24" width="6" height="120" version="1.1" viewBox="0 0 1.5875 31.75" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <metadata>
+ <rdf:RDF>
+ <cc:Work rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <dc:title/>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g transform="translate(-159.47 -110.22)" stroke-width="0">
+ <rect x="159.47" y="110.22" width="1.5875" height="6.35" fill="#fff"/>
+ <rect x="160.79" y="110.22" width=".26458" height="6.0854" fill="#aeaeae"/>
+ <rect transform="rotate(90)" x="116.04" y="-160.79" width=".26458" height="1.3229" fill="#aeaeae"/>
+ <rect x="159.47" y="116.57" width="1.5875" height="6.35" fill="#fff"/>
+ <g fill="#3096fa">
+ <rect x="160.79" y="116.57" width=".26458" height="6.0854"/>
+ <rect transform="rotate(90)" x="122.39" y="-160.79" width=".26458" height="1.0583"/>
+ <rect x="159.47" y="116.57" width=".26458" height="6.0854"/>
+ </g>
+ <rect x="159.47" y="122.92" width="1.5875" height="6.35" fill="#fff"/>
+ <g fill="#2979ff">
+ <rect x="160.79" y="122.92" width=".26458" height="6.0854"/>
+ <rect transform="rotate(90)" x="122.92" y="-160.79" width=".26458" height="1.0583"/>
+ <rect x="159.47" y="122.92" width=".26458" height="6.0854"/>
+ </g>
+ <rect x="159.47" y="129.27" width="1.5875" height="6.35" fill="#fff"/>
+ <rect transform="rotate(90)" x="135.09" y="-161.06" width=".26458" height="1.5875" fill="#aeaeae"/>
+ <rect x="159.47" y="135.62" width="1.5875" height="6.35" fill="#fff"/>
+ <g fill="#aeaeae">
+ <rect transform="rotate(90)" x="141.44" y="-161.06" width=".26458" height="1.5875"/>
+ <rect x="159.47" y="110.22" width=".26458" height="6.0854"/>
+ <rect transform="rotate(90)" x="110.22" y="-160.79" width=".26458" height="1.3229"/>
+ </g>
+ <rect transform="rotate(90)" x="116.57" y="-160.79" width=".26458" height="1.0583" fill="#3096fa"/>
+ <rect transform="rotate(90)" x="128.74" y="-160.79" width=".26458" height="1.0583" fill="#2979ff"/>
+ </g>
+</svg>
diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc
index 5aea6c02610..19e3192201f 100644
--- a/dlls/light.msstyles/light.rc
+++ b/dlls/light.msstyles/light.rc
@@ -334,6 +334,23 @@ BLUE_INI TEXTFILE
"FillColor = 245 245 245\r\n"
"TextColor = 0 0 0\r\n"
+"\r\n; Header\r\n"
+"[Header]\r\n"
+"BgType = ImageFile\r\n"
+"SizingMargins = 2, 2, 2, 4\r\n"
+"ImageFile = blue_header.bmp\r\n"
+"SizingType = Tile\r\n"
+
+"[Header.HeaderItem]\r\n"
+"BgType = ImageFile\r\n"
+"SizingMargins = 2, 2, 2, 4\r\n"
+"ContentMargins = 3, 0, 0, 0\r\n"
+"ImageFile = blue_header_item.bmp\r\n"
+"ImageCount = 5\r\n"
+"ImageLayout = Vertical\r\n"
+"SizingType = Tile\r\n"
+"Transparent = True\r\n"
+
"\r\n; ListBox\r\n"
"[ListBox]\r\n"
"BgType = BorderFill\r\n"
@@ -698,6 +715,13 @@ BLUE_COMBOBUTTON_BMP BITMAP "blue_combobutton.bmp"
/* @makedep: blue_combobutton_glyph.bmp */
BLUE_COMBOBUTTON_GLYPH_BMP BITMAP "blue_combobutton_glyph.bmp"
+/* Header */
+/* @makedep: blue_header.bmp */
+BLUE_HEADER_BMP BITMAP "blue_header.bmp"
+
+/* @makedep: blue_header_item.bmp */
+BLUE_HEADER_ITEM_BMP BITMAP "blue_header_item.bmp"
+
/* Rebar */
/* @makedep: blue_rebar_background.bmp */
BLUE_REBAR_BACKGROUND_BMP BITMAP "blue_rebar_background.bmp"
More information about the wine-cvs
mailing list