[PATCH 2/6] light.msstyles: Add Header parts.

Zhiyi Zhang zzhang at codeweavers.com
Sun Jun 27 21:29:52 CDT 2021


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 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(+)
 create mode 100644 dlls/light.msstyles/blue_header.bmp
 create mode 100644 dlls/light.msstyles/blue_header.svg
 create mode 100644 dlls/light.msstyles/blue_header_item.bmp
 create mode 100644 dlls/light.msstyles/blue_header_item.svg

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 0000000000000000000000000000000000000000..fb81a657aa950214103575d3e2572d6199dfe4ea
GIT binary patch
literal 618
zcmZ?r&0=BzgDxOh1H^1VECIxfV3L910V9xu0sb>EKoCggzmt1VF at _QX0xW3q|1kgq
X!#WHA7DHAER52<x2*Us^<`@_Na*2b5

literal 0
HcmV?d00001

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 0000000000000000000000000000000000000000..3a381109f575918b9b46977ffe71f58354168a91
GIT binary patch
literal 2538
zcmZ?reZ|QD23<h128h{!xB`e786<!t149B-9?XFg{}~t{2qf~~$vvnTE=44R1x?+5
z48Xv!e*OA&r~qgg1{f9l4~h#6F!;qr<9G1K5k|5iC9PFz{)eM#o&QzZK>q>-{{4fZ
zzklFjaC=6@{{J5YVE~V}Ds4y{!6OL9U|{$)%>aR>8~vJY1Qz at M{~r|n`->2RX&V&-
s2F`$o3r4)bq6a}UFd)~xz_J<$z+!ME|Ni|O6&svk0FOFwv;pG{0Js*V-2eap

literal 0
HcmV?d00001

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"
-- 
2.30.2




More information about the wine-devel mailing list