[PATCH 4/6] themes/light: Add ComboBox parts.

Zhiyi Zhang zzhang at codeweavers.com
Tue Jun 22 21:51:20 CDT 2021


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 themes/light/blue_combobutton.bmp       | Bin 0 -> 6774 bytes
 themes/light/blue_combobutton.svg       | 101 ++++++++++++++++++++++
 themes/light/blue_combobutton_glyph.bmp | Bin 0 -> 1174 bytes
 themes/light/blue_combobutton_glyph.svg | 106 ++++++++++++++++++++++++
 themes/light/light.rc                   |  31 +++++++
 5 files changed, 238 insertions(+)
 create mode 100644 themes/light/blue_combobutton.bmp
 create mode 100644 themes/light/blue_combobutton.svg
 create mode 100644 themes/light/blue_combobutton_glyph.bmp
 create mode 100644 themes/light/blue_combobutton_glyph.svg

diff --git a/themes/light/blue_combobutton.bmp b/themes/light/blue_combobutton.bmp
new file mode 100644
index 0000000000000000000000000000000000000000..549aece42a6dad47f94aa39230d8c6c5122a5b52
GIT binary patch
literal 6774
zcmeI0v2Gec5Qa$;cdk;Ufg;7B6gisImiu&m7VB)@B8tsBAORhP!Bq;|c_9l(w3#8A
z(`Ropv&M>xLz<g^cmMg=U7?YV({JY=d;8B<c~%l1B+ew>^#=0n^-g5{=kdSTPrTA&
zHk<Vqi^Xa_pKl~mFtp}I8MZwcuVs8Wolf7|oHuKY)Q^>EHKI2qEURBGmq*I5vFK#F
zG?PKy at q9PHJEQhh=Poj+bEj{H3~FC>?jnOaclu_?p!QYgE;6Wdr*DP~YF~BkB7-`2
z`ew)wedzvjE6k>(XK9W0PVL8b643+Ut#zLg;r^^F_Gjb1)ttt|e!3Xmr>6QXIfX)N
zn&F)??0i!HAn_-}dHTJ3X3Hzt*Hd27v$eeEYlY*E7yPX}yXWryy8Dath*$f)9K63&
zztTnZlK!W)_w9L`Y9Ql>;{L3?9sSw3Z#6&u81=W;^-5wRk%F<=Ue!0su=8yvU)H<p
z`Z7&Fhu at F1W_MMOmD%!SUnMN7Pv1Ws>Dg?o=QCZJ$)N6dz8m13QTwWM7a7#K(>Fr~
zwXZsNkwKk1eKTZG`>Jyn8PvJcH$w)suR3>;L7h8&Gh~Q9aDN%y?k1zAq-X8>pY%@I
zQ~Q4OIH?EPQ+1!Z?_g-niv8JlL;ugE?{eM$b+P-`_hzf0wz+5~gF4DFKN-}v9?fJ>
zM>*yvgWA at knGEVE$NXea+j=yUK^^6opA2eSk7hEcqa5>-L2c{NOa^t7V}3G3cmLPf
H#RT(TZA>K7

literal 0
HcmV?d00001

diff --git a/themes/light/blue_combobutton.svg b/themes/light/blue_combobutton.svg
new file mode 100644
index 00000000000..83cbad42cd8
--- /dev/null
+++ b/themes/light/blue_combobutton.svg
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="20"
+   height="84"
+   viewBox="0 0 5.2916666 22.225"
+   version="1.1"
+   id="svg8"
+   inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
+   sodipodi:docname="blue_combobutton.svg"
+   inkscape:export-filename="/home/eric/src/wine/themes/light/blue_combobutton.png"
+   inkscape:export-xdpi="96"
+   inkscape:export-ydpi="96">
+  <defs
+     id="defs2" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="11.2"
+     inkscape:cx="-55.876149"
+     inkscape:cy="19.823541"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     inkscape:document-rotation="0"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="3840"
+     inkscape:window-height="2058"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid10"
+       originx="-6.5565108e-07"
+       originy="-4.9173833e-07" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <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
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <rect
+       style="fill:none;stroke:#aeaeae;stroke-width:0.264582;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect12"
+       width="4.4979162"
+       height="4.7625008"
+       x="0.39687434"
+       y="0.39687434"
+       rx="0.52916664"
+       ry="0.52916664" />
+    <rect
+       style="fill:none;stroke:#3096fa;stroke-width:0.264582;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect12-3"
+       width="4.4979162"
+       height="4.7625012"
+       x="0.39687434"
+       y="5.9531245"
+       rx="0.52916664"
+       ry="0.52916664" />
+    <rect
+       style="fill:#2979ff;stroke:#2979ff;stroke-width:0.264582;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
+       id="rect12-3-6"
+       width="4.4979162"
+       height="4.7625017"
+       x="0.39687434"
+       y="11.509375"
+       rx="0.52916664"
+       ry="0.52916664" />
+    <rect
+       style="fill:none;stroke:#aeaeae;stroke-width:0.264582;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect12-36"
+       width="4.4979162"
+       height="4.7625008"
+       x="0.39687434"
+       y="17.065624"
+       rx="0.52916664"
+       ry="0.52916664" />
+  </g>
+</svg>
diff --git a/themes/light/blue_combobutton_glyph.bmp b/themes/light/blue_combobutton_glyph.bmp
new file mode 100644
index 0000000000000000000000000000000000000000..c427c0dc605dcaa171372af78978a9ce1074d4f7
GIT binary patch
literal 1174
zcmd6jKMsO06o)Z!a_|HWj&79272 at t4JcSdHhMs|vxN!jf+`&^JCioS>h!7S{l;mss
z-usoL-)^txR`YFHH?V*e%&ax5WgVDbmJgc72TPV^Nl_H%sbA!I9)h2ysU&|I%Q90Y
z)6GnlI_PS%bJwMJeC?UD$$|IY|7Bg*bpn%Kn1|qlgi$Z_mC1B(X|p{q^jsKtp%=hk
zdAVwl++s25rHt&b(zahlLRQ)t^-^j_nM~)U$;P7Rg}ZJQiGi1j9Q>6R-jTqh7v>?D
bH%l1xLSMnt3ug&EFVrp!ytFxw{p;TyDj9uq

literal 0
HcmV?d00001

diff --git a/themes/light/blue_combobutton_glyph.svg b/themes/light/blue_combobutton_glyph.svg
new file mode 100644
index 00000000000..f27cb4d0dbf
--- /dev/null
+++ b/themes/light/blue_combobutton_glyph.svg
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="10"
+   height="28"
+   viewBox="0 0 2.6458333 7.408334"
+   version="1.1"
+   id="svg8"
+   inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
+   sodipodi:docname="blue_combobutton_glyph.svg"
+   inkscape:export-filename="/home/eric/src/wine/themes/light/blue_combobutton_glyph.png"
+   inkscape:export-xdpi="96"
+   inkscape:export-ydpi="96">
+  <defs
+     id="defs2" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="31.678384"
+     inkscape:cx="-5.501522"
+     inkscape:cy="11.482504"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     inkscape:document-rotation="0"
+     showgrid="true"
+     units="px"
+     inkscape:window-width="3840"
+     inkscape:window-height="2059"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid10" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <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></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     style="display:inline">
+    <path
+       d="m 0,-1.8520833 h 6.35 v 6.35 H 0 Z"
+       fill="none"
+       id="path2"
+       style="stroke-width:0.264583" />
+    <path
+       d="M 0,3.7041667 H 6.35 V 10.054167 H 0 Z"
+       fill="none"
+       id="path2-3"
+       style="stroke-width:0.264583" />
+    <path
+       d="M 0.396875,0.66961251 1.3182396,1.5875 1.4498631,1.4563732 0.52849851,0.53848571 Z"
+       id="path4-79-8"
+       style="stroke-width:0.264582" />
+    <path
+       d="M 2.1173348,0.52916667 1.1959703,1.4470542 1.3275939,1.5781809 2.2489584,0.66029351 Z"
+       id="path4-79-8-5"
+       style="display:inline;stroke-width:0.264582" />
+    <path
+       d="M 0.396875,2.5216958 1.3182396,3.4395833 1.4498631,3.3084566 0.52849854,2.390569 Z"
+       id="path4-79-8-2"
+       style="display:inline;fill:#3096fa;fill-opacity:1;stroke-width:0.264582" />
+    <path
+       d="M 2.1173348,2.38125 1.1959703,3.2991375 1.3275939,3.4302643 2.2489584,2.5123768 Z"
+       id="path4-79-8-5-9"
+       style="display:inline;fill:#3096fa;fill-opacity:1;stroke-width:0.264582" />
+    <path
+       d="M 0.396875,4.3737791 1.3182396,5.2916667 1.4498631,5.1605399 0.52849854,4.2426524 Z"
+       id="path4-79-8-2-1"
+       style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264582" />
+    <path
+       d="M 2.1173348,4.2333333 1.1959703,5.1512209 1.3275939,5.2823476 2.2489584,4.3644602 Z"
+       id="path4-79-8-5-9-2"
+       style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264582" />
+    <path
+       d="M 0.396875,6.2258625 1.3182396,7.14375 1.4498631,7.0126233 0.52849854,6.0947357 Z"
+       id="path4-79-8-2-1-7"
+       style="display:inline;fill:#aeaeae;fill-opacity:1;stroke:none;stroke-width:0.264582;stroke-opacity:1" />
+    <path
+       d="M 2.1173348,6.0854167 1.1959703,7.0033042 1.3275939,7.134431 2.2489584,6.2165435 Z"
+       id="path4-79-8-5-9-2-0"
+       style="display:inline;fill:#aeaeae;fill-opacity:1;stroke:none;stroke-width:0.264582;stroke-opacity:1" />
+  </g>
+</svg>
diff --git a/themes/light/light.rc b/themes/light/light.rc
index ea138423e8e..186aab3b066 100644
--- a/themes/light/light.rc
+++ b/themes/light/light.rc
@@ -294,6 +294,30 @@ BLUE_INI TEXTFILE
 "ImageFile2 = blue_commandlink_glyph_45px.bmp\r\n"
 "MinDpi1 = 96\r\n"
 "MinDpi2 = 144\r\n"
+
+"\r\n; ComboBox\r\n"
+"[ComboBox]\r\n"
+"BgType = BorderFill\r\n"
+"BorderSize = 1\r\n"
+"FillColor = 255 255 255\r\n"
+"BorderColor = 174 174 174\r\n"
+
+"[ComboBox(Disabled)]\r\n"
+"BorderColor = 228 228 228\r\n"
+"FillColor = 231 231 231\r\n"
+
+"[ComboBox.DropDownButton]\r\n"
+"BgType = ImageFile\r\n"
+"ImageLayout = Vertical\r\n"
+"SizingType = Stretch\r\n"
+"ImageFile = blue_combobutton.bmp\r\n"
+"SizingMargins = 3, 3, 3, 3\r\n"
+"ContentMargins = 0, 0, 0, 0\r\n"
+"ImageCount = 4\r\n"
+"GlyphType = ImageGlyph\r\n"
+"GlyphImageFile = blue_combobutton_glyph.bmp\r\n"
+"GlyphTransparent = True\r\n"
+"Transparent = True\r\n"
 }
 
 /* All following bitmaps are of 32-bit ARGB format */
@@ -332,6 +356,13 @@ BLUE_COMMANDLINK_GLYPH_30PX_BMP BITMAP "blue_commandlink_glyph_30px.bmp"
 /* @makedep: blue_commandlink_glyph_45px.bmp */
 BLUE_COMMANDLINK_GLYPH_45PX_BMP BITMAP "blue_commandlink_glyph_45px.bmp"
 
+/* ComboBox */
+/* @makedep: blue_combobutton.bmp */
+BLUE_COMBOBUTTON_BMP BITMAP "blue_combobutton.bmp"
+
+/* @makedep: blue_combobutton_glyph.bmp */
+BLUE_COMBOBUTTON_GLYPH_BMP BITMAP "blue_combobutton_glyph.bmp"
+
 /* File version */
 #define WINE_FILEDESCRIPTION_STR "Light Theme"
 #define WINE_FILENAME_STR "light.msstyles"
-- 
2.30.2




More information about the wine-devel mailing list