light.msstyles: Add Menu parts.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53034
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2022-05-25 17:28:37 +08:00 committed by Alexandre Julliard
parent 7e48747bd6
commit b90662e695
18 changed files with 224 additions and 0 deletions

View file

@ -26,6 +26,14 @@ SVG_SRCS = \
blue_groupbox.svg \
blue_header.svg \
blue_header_item.svg \
blue_menu_popup_check_16px.svg \
blue_menu_popup_check_18px.svg \
blue_menu_popup_separator.svg \
blue_menu_popup_submenu.svg \
blue_menu_system_close.svg \
blue_menu_system_maximize.svg \
blue_menu_system_minimize.svg \
blue_menu_system_restore.svg \
blue_progress_chunk_horizontal.svg \
blue_progress_chunk_vertical.svg \
blue_progress_track_horizontal.svg \

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:16-32" width="16" height="64" version="1.1" viewBox="0 0 4.2333 16.933" xmlns="http://www.w3.org/2000/svg">
<g stroke-width=".26458">
<path d="m1.5394 2.8867-0.75766-0.82928-0.25256 0.27644 1.0102 1.1057 2.1648-2.3694-0.25256-0.27644z" fill="#3096fa"/>
<path d="m1.5394 7.12-0.75766-0.82928-0.25256 0.27644 1.0102 1.1057 2.1648-2.3694-0.25256-0.27644z" fill="#aeaeae"/>
<path d="m3.3073 10.583a1.1906 1.1906 0 0 1-1.1906 1.1906 1.1906 1.1906 0 0 1-1.1906-1.1906 1.1906 1.1906 0 0 1 1.1906-1.1906 1.1906 1.1906 0 0 1 1.1906 1.1906z" fill="#3096fa" stroke="#3096fa"/>
<path d="m3.4396 14.817a1.3229 1.3229 0 0 1-1.3229 1.3229 1.3229 1.3229 0 0 1-1.3229-1.3229 1.3229 1.3229 0 0 1 1.3229-1.3229 1.3229 1.3229 0 0 1 1.3229 1.3229z" fill="#aeaeae"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:18-32" width="18" height="72" version="1.1" viewBox="0 0 4.7625 19.05" xmlns="http://www.w3.org/2000/svg">
<g stroke-width=".26458">
<path d="m1.804 3.1513-0.75766-0.82928-0.25256 0.27644 1.0102 1.1057 2.1648-2.3694-0.25256-0.27644z" fill="#3096fa"/>
<path d="m1.804 7.9137-0.75766-0.82928-0.25256 0.27644 1.0102 1.1057 2.1648-2.3694-0.25256-0.27644z" fill="#aeaeae"/>
<path d="m3.5718 11.906a1.1906 1.1906 0 0 1-1.1906 1.1906 1.1906 1.1906 0 0 1-1.1906-1.1906 1.1906 1.1906 0 0 1 1.1906-1.1906 1.1906 1.1906 0 0 1 1.1906 1.1906z" fill="#3096fa" stroke="#3096fa"/>
<path d="m3.7041 16.668a1.3229 1.3229 0 0 1-1.3229 1.3229 1.3229 1.3229 0 0 1-1.3229-1.3229 1.3229 1.3229 0 0 1 1.3229-1.3229 1.3229 1.3229 0 0 1 1.3229 1.3229z" fill="#aeaeae"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:1-32" width="1" height="6" version="1.1" viewBox="0 0 .26458 1.5875" xmlns="http://www.w3.org/2000/svg">
<path d="m0 0.79373h0.26458v0.26458h-0.26458z" fill="#aeaeae" stroke-width=".99999"/>
<path d="m0 1.0583h0.26458v0.26458h-0.26458z" fill="#fff" stroke-width=".99999"/>
</svg>

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:9-32" width="9" height="18" version="1.1" viewBox="0 0 2.3812 4.7625" xmlns="http://www.w3.org/2000/svg">
<g stroke-width=".99996">
<path d="m1.7209 1.3148-0.91789-0.91898 0.13113-0.13129 0.91789 0.91898z" fill="#3096fa"/>
<path d="m1.8427 1.1977-0.91789 0.91898-0.13113-0.13129 0.91789-0.91898z" fill="#3096fa"/>
<path d="m1.7209 3.6962-0.91789-0.91905 0.13113-0.1313 0.91789 0.91905z" fill="#aeaeae"/>
<path d="m1.8427 3.5789-0.91789 0.91905-0.13113-0.1313 0.91789-0.91905z" fill="#aeaeae"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,018 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:11-32" width="11" height="20" version="1.1" viewBox="0 0 2.9104 5.2917" xmlns="http://www.w3.org/2000/svg">
<path d="m2.1166 0.95364-0.18653-0.15989-0.73951 0.63386-0.73951-0.63386-0.18653 0.15989 0.73951 0.63386-0.73951 0.63386 0.18653 0.15989 0.73951-0.63386 0.73951 0.63386 0.18653-0.15989-0.73951-0.63386z"/>
<path d="m2.1166 3.5995-0.18653-0.15989-0.73951 0.63386-0.73951-0.63386-0.18653 0.15989 0.73951 0.63386-0.73951 0.63386 0.18653 0.15989 0.73951-0.63386 0.73951 0.63386 0.18653-0.15989-0.73951-0.63386z" fill="#aeaeae"/>
</svg>

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,018 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:11-32" width="11" height="20" version="1.1" viewBox="0 0 2.9104 5.2917" xmlns="http://www.w3.org/2000/svg">
<rect x=".52915" y=".79375" width="1.5875" height="1.3229" fill="none" stroke="#000" stroke-width=".52917"/>
<rect x=".52915" y="3.4396" width="1.5875" height="1.3229" fill="none" stroke="#aeaeae" stroke-width=".52917"/>
</svg>

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,018 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:11-32" width="11" height="20" version="1.1" viewBox="0 0 2.9104 5.2917" xmlns="http://www.w3.org/2000/svg">
<path d="m0.26457 1.8521h2.1167v0.52917h-2.1167z" stroke-width=".26458"/>
<path d="m0.26457 4.4979h2.1167v0.52917h-2.1167z" fill="#aeaeae" stroke-width=".26458"/>
</svg>

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,018 B

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="bitmap:11-32" width="11" height="20" version="1.1" viewBox="0 0 2.9104 5.2917" xmlns="http://www.w3.org/2000/svg">
<rect x=".52915" y="1.0583" width="1.0583" height="1.0583" fill="none" stroke="#000" stroke-width=".52917"/>
<path d="m0.79374 0.26458h1.5875v0.26458h-1.5875z" stroke-width=".26458"/>
<path d="m0.79374 2.9104h1.5875v0.26458h-1.5875z" fill="#aeaeae" stroke-width=".26458"/>
<g stroke-width=".26458">
<path d="m2.1167 0.52917h0.26458v1.3229h-0.26458z"/>
<path d="m2.1167 3.175h0.26458v1.3229h-0.26458z" fill="#aeaeae"/>
<path d="m1.8521 1.5875h0.26458v0.26458h-0.26458z"/>
<path d="m1.8521 4.2334h0.26458v0.26458h-0.26458z" fill="#aeaeae"/>
<path d="m0.79374 0.52917h0.26458v0.26458h-0.26458z"/>
<path d="m0.79374 3.175h0.26458v0.26458h-0.26458z" fill="#aeaeae"/>
</g>
<rect x=".52915" y="3.7042" width="1.0583" height="1.0583" fill="none" stroke="#aeaeae" stroke-width=".52917"/>
</svg>

After

Width:  |  Height:  |  Size: 967 B

View file

@ -402,6 +402,135 @@ BLUE_INI TEXTFILE
"[Menu]\r\n"
"BgType = None\r\n"
"[Menu.BarBackground]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 0\r\n"
"FillType = Solid\r\n"
"FillColor = 255 255 255\r\n"
"[Menu.BarItem]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 0\r\n"
"FillType = Solid\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 0 0 0\r\n"
"[Menu.BarItem(Hot)]\r\n"
"FillColor = 48 150 250\r\n"
"TextColor = 255 255 255\r\n"
"[Menu.BarItem(Pushed)]\r\n"
"FillColor = 48 150 250\r\n"
"TextColor = 255 255 255\r\n"
"[Menu.BarItem(Disabled)]\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 166 166 166\r\n"
"[Menu.BarItem(DisabledHot)]\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 166 166 166\r\n"
"[Menu.BarItem(DisabledPushed)]\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 166 166 166\r\n"
"[Menu.PopupBackground]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 0\r\n"
"FillType = Solid\r\n"
"FillColor = 255 255 255\r\n"
"[Menu.PopupBorders]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 1\r\n"
"FillColor = 255 255 255\r\n"
"BorderColor = 174 174 174\r\n"
"[Menu.PopupCheck]\r\n"
"BgType = ImageFile\r\n"
"ImageFile1 = blue_menu_popup_check_16px.bmp\r\n"
"ImageFile2 = blue_menu_popup_check_18px.bmp\r\n"
"ContentMargins = 3, 3, 3, 3\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"ImageSelectType = Dpi\r\n"
"TrueSizeScalingType = Dpi\r\n"
"ImageCount = 4\r\n"
"MinDpi1 = 96\r\n"
"MinDpi2 = 120\r\n"
"[Menu.PopupCheckBackground]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 0\r\n"
"FillType = Solid\r\n"
"FillColor = 255 255 255\r\n"
"[Menu.PopupGutter]\r\n"
"BgType = None\r\n"
"[Menu.PopupItem]\r\n"
"BgType = BorderFill\r\n"
"BorderSize = 0\r\n"
"FillType = Solid\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 0 0 0\r\n"
"[Menu.PopupItem(Hot)]\r\n"
"FillColor = 48 150 250\r\n"
"TextColor = 255 255 255\r\n"
"[Menu.PopupItem(Disabled)]\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 166 166 166\r\n"
"[Menu.PopupItem(DisabledHot)]\r\n"
"FillColor = 255 255 255\r\n"
"TextColor = 166 166 166\r\n"
"[Menu.PopupSeparator]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_popup_separator.bmp\r\n"
"MinSize = 1, 4\r\n"
"SizingMargins = 0, 0, 3, 1\r\n"
"SizingType = Stretch\r\n"
"[Menu.PopupSubmenu]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_popup_submenu.bmp\r\n"
"ImageCount = 2\r\n"
"SizingMargins = 2, 7, 3, 3\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"[Menu.SystemClose]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_system_close.bmp\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"[Menu.SystemMaximize]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_system_maximize.bmp\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"[Menu.SystemMinimize]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_system_minimize.bmp\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"[Menu.SystemRestore]\r\n"
"BgType = ImageFile\r\n"
"ImageFile = blue_menu_system_restore.bmp\r\n"
"ImageCount = 2\r\n"
"SizingType = TrueSize\r\n"
"ImageLayout = Vertical\r\n"
"\r\n; Progress\r\n"
"[Progress]\r\n"
"ProgressChunkSize = 1\r\n"
@ -1279,6 +1408,31 @@ BLUE_HEADER_BMP BITMAP "blue_header.bmp"
/* @makedep: blue_header_item.bmp */
BLUE_HEADER_ITEM_BMP BITMAP "blue_header_item.bmp"
/* Menu */
/* @makedep: blue_menu_popup_check_16px.bmp */
BLUE_MENU_POPUP_CHECK_16PX_BMP BITMAP "blue_menu_popup_check_16px.bmp"
/* @makedep: blue_menu_popup_check_18px.bmp */
BLUE_MENU_POPUP_CHECK_18PX_BMP BITMAP "blue_menu_popup_check_18px.bmp"
/* @makedep: blue_menu_popup_separator.bmp */
BLUE_MENU_POPUP_SEPARATOR_BMP BITMAP "blue_menu_popup_separator.bmp"
/* @makedep: blue_menu_popup_submenu.bmp */
BLUE_MENU_POPUP_SUBMENU_BMP BITMAP "blue_menu_popup_submenu.bmp"
/* @makedep: blue_menu_system_close.bmp */
BLUE_MENU_SYSTEM_CLOSE_BMP BITMAP "blue_menu_system_close.bmp"
/* @makedep: blue_menu_system_maximize.bmp */
BLUE_MENU_SYSTEM_MAXIMIZE_BMP BITMAP "blue_menu_system_maximize.bmp"
/* @makedep: blue_menu_system_minimize.bmp */
BLUE_MENU_SYSTEM_MINIMIZE_BMP BITMAP "blue_menu_system_minimize.bmp"
/* @makedep: blue_menu_system_restore.bmp */
BLUE_MENU_SYSTEM_RESTORE_BMP BITMAP "blue_menu_system_restore.bmp"
/* Progress */
/* @makedep: blue_progress_chunk_horizontal.bmp */
BLUE_PROGRESS_CHUNK_HORIZONTAL_BMP BITMAP "blue_progress_chunk_horizontal.bmp"