🖌️ Visual Chnages: Windows side cursors scale down

This commit is contained in:
ful1e5
2021-06-17 16:17:15 +05:30
parent b8acf148bb
commit d1dff4d4a4
5 changed files with 80 additions and 84 deletions
+4 -4
View File
@@ -22,7 +22,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
"bd_double_arrow.png": {"xhot": 98, "yhot": 96}, "bd_double_arrow.png": {"xhot": 98, "yhot": 96},
"bottom_left_corner.png": {"xhot": 56, "yhot": 143}, "bottom_left_corner.png": {"xhot": 56, "yhot": 143},
"bottom_right_corner.png": {"xhot": 142, "yhot": 147}, "bottom_right_corner.png": {"xhot": 142, "yhot": 147},
"bottom_side.png": {"xhot": 100, "yhot": 148}, "bottom_side.png": {"xhot": 100, "yhot": 164},
"center_ptr.png": {"xhot": 99, "yhot": 35}, "center_ptr.png": {"xhot": 99, "yhot": 35},
"col-resize.png": {"xhot": 100, "yhot": 100}, "col-resize.png": {"xhot": 100, "yhot": 100},
"color-picker.png": {"xhot": 42, "yhot": 157}, "color-picker.png": {"xhot": 42, "yhot": 157},
@@ -36,7 +36,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
"hand1.png": {"xhot": 107, "yhot": 35}, "hand1.png": {"xhot": 107, "yhot": 35},
"hand2.png": {"xhot": 90, "yhot": 35}, "hand2.png": {"xhot": 90, "yhot": 35},
"left_ptr.png": {"xhot": 57, "yhot": 30}, "left_ptr.png": {"xhot": 57, "yhot": 30},
"left_side.png": {"xhot": 52, "yhot": 100}, "left_side.png": {"xhot": 33, "yhot": 100},
"link.png": {"xhot": 57, "yhot": 30}, "link.png": {"xhot": 57, "yhot": 30},
"move.png": {"xhot": 101, "yhot": 51}, "move.png": {"xhot": 101, "yhot": 51},
"pencil.png": {"xhot": 38, "yhot": 156}, "pencil.png": {"xhot": 38, "yhot": 156},
@@ -44,7 +44,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
"plus.png": {"xhot": 100, "yhot": 100}, "plus.png": {"xhot": 100, "yhot": 100},
"question_arrow.png": {"xhot": 57, "yhot": 30}, "question_arrow.png": {"xhot": 57, "yhot": 30},
"right_ptr.png": {"xhot": 136, "yhot": 32}, "right_ptr.png": {"xhot": 136, "yhot": 32},
"right_side.png": {"xhot": 147, "yhot": 100}, "right_side.png": {"xhot": 164, "yhot": 100},
"row-resize.png": {"xhot": 100, "yhot": 100}, "row-resize.png": {"xhot": 100, "yhot": 100},
"sb_down_arrow.png": {"xhot": 100, "yhot": 160}, "sb_down_arrow.png": {"xhot": 100, "yhot": 160},
"sb_h_double_arrow.png": {"xhot": 98, "yhot": 96}, "sb_h_double_arrow.png": {"xhot": 98, "yhot": 96},
@@ -54,7 +54,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
"sb_v_double_arrow.png": {"xhot": 98, "yhot": 96}, "sb_v_double_arrow.png": {"xhot": 98, "yhot": 96},
"top_left_corner.png": {"xhot": 57, "yhot": 55}, "top_left_corner.png": {"xhot": 57, "yhot": 55},
"top_right_corner.png": {"xhot": 142, "yhot": 55}, "top_right_corner.png": {"xhot": 142, "yhot": 55},
"top_side.png": {"xhot": 100, "yhot": 52}, "top_side.png": {"xhot": 100, "yhot": 35},
"vertical-text.png": {"xhot": 100, "yhot": 100}, "vertical-text.png": {"xhot": 100, "yhot": 100},
"wayland-cursor.png": {"xhot": 100, "yhot": 100}, "wayland-cursor.png": {"xhot": 100, "yhot": 100},
"X_cursor.png": {"xhot": 100, "yhot": 100}, "X_cursor.png": {"xhot": 100, "yhot": 100},
+7 -8
View File
@@ -1,14 +1,13 @@
<?xml version="1.0"?> <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d)"> <g filter="url(#filter0_d)">
<path d="M99.9154 128.485L76.0197 80.6617L95.9327 73.937V48.7793H103.898V73.937L123.811 80.6617L99.9154 128.485Z" fill="#0000FF"/> <path d="M100.084 150.14L82.0543 114.056L97.0792 108.982V90H103.089V108.982L118.114 114.056L100.084 150.14Z" fill="#0000FF"/>
<path d="M32.2114 152.101V144.13H167.62V152.101H32.2114Z" fill="#0000FF"/> <path d="M49 167.958V161.944H151.169V167.958H49Z" fill="#0000FF"/>
<path d="M96.7844 130.05C97.3771 131.236 98.5893 131.985 99.9154 131.985C101.241 131.985 102.454 131.236 103.046 130.05L126.942 82.2261C127.394 81.3208 127.433 80.264 127.047 79.3282C126.661 78.3925 125.89 77.6695 124.931 77.3457L107.398 71.4248V48.7793C107.398 46.8463 105.831 45.2793 103.898 45.2793H95.9327C93.9997 45.2793 92.4327 46.8463 92.4327 48.7793V71.4248L74.8999 77.3457C73.941 77.6695 73.1693 78.3925 72.7837 79.3282C72.3981 80.264 72.4364 81.3208 72.8888 82.2261L96.7844 130.05ZM28.7114 152.101C28.7114 154.034 30.2784 155.601 32.2114 155.601H167.62C169.553 155.601 171.12 154.034 171.12 152.101V144.13C171.12 142.197 169.553 140.63 167.62 140.63H32.2114C30.2784 140.63 28.7114 142.197 28.7114 144.13V152.101Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/> <path d="M96.9532 151.704C97.5459 152.891 98.7581 153.64 100.084 153.64C101.41 153.64 102.622 152.891 103.215 151.704L121.245 115.62C121.697 114.715 121.736 113.658 121.35 112.723C120.964 111.787 120.193 111.064 119.234 110.74L106.589 106.47V90C106.589 88.067 105.022 86.5 103.089 86.5H97.0792C95.1462 86.5 93.5792 88.067 93.5792 90V106.47L80.9345 110.74C79.9757 111.064 79.2039 111.787 78.8183 112.723C78.4327 113.658 78.4711 114.715 78.9234 115.62L96.9532 151.704ZM45.5 167.958C45.5 169.891 47.067 171.458 49 171.458H151.169C153.102 171.458 154.669 169.891 154.669 167.958V161.944C154.669 160.011 153.102 158.444 151.169 158.444H49C47.067 158.444 45.5 160.011 45.5 161.944V167.958Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
</g> </g>
<path d="M99.9154 128.485L76.0197 80.6617L95.9327 73.937V48.7793H103.898V73.937L123.811 80.6617L99.9154 128.485Z" fill="#00FF00"/> <path d="M100.084 150.14L82.0543 114.056L97.0792 108.982V90H103.089V108.982L118.114 114.056L100.084 150.14Z" fill="#00FF00"/>
<path d="M32.2114 152.101V144.13H167.62V152.101H32.2114Z" fill="#00FF00"/> <path d="M49 167.958V161.944H151.169V167.958H49Z" fill="#00FF00"/>
<defs> <defs>
<filter id="filter0_d" x="21.2114" y="41.7793" width="157.408" height="127.321" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <filter id="filter0_d" x="38" y="83" width="124.169" height="101.958" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/> <feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/> <feOffset dy="6"/>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

+7 -8
View File
@@ -1,14 +1,13 @@
<?xml version="1.0"?> <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d)"> <g filter="url(#filter0_d)">
<path d="M71.8702 100.44L119.694 124.336L126.419 104.423H151.576V96.4575H126.419L119.694 76.5445L71.8702 100.44Z" fill="#0000FF"/> <path d="M48.8182 100.085L84.9022 118.114L89.9761 103.09H108.958V97.0796H89.9761L84.9022 82.0548L48.8182 100.085Z" fill="#0000FF"/>
<path d="M48.255 168.144H56.2255V32.7356H48.255V168.144Z" fill="#0000FF"/> <path d="M31 151.169H37.0139V49H31V151.169Z" fill="#0000FF"/>
<path d="M70.3058 97.3092C69.1196 97.9019 68.3702 99.1141 68.3702 100.44C68.3702 101.766 69.1196 102.978 70.3058 103.571L118.129 127.467C119.035 127.919 120.092 127.957 121.027 127.572C121.963 127.186 122.686 126.414 123.01 125.456L128.931 107.923H151.576C153.509 107.923 155.076 106.356 155.076 104.423V96.4575C155.076 94.5245 153.509 92.9575 151.576 92.9575H128.931L123.01 75.4246C122.686 74.4658 121.963 73.694 121.027 73.3084C120.092 72.9229 119.035 72.9612 118.129 73.4135L70.3058 97.3092ZM44.755 168.144C44.755 170.077 46.322 171.644 48.255 171.644H56.2255C58.1585 171.644 59.7255 170.077 59.7255 168.144V32.7356C59.7255 30.8026 58.1585 29.2356 56.2255 29.2356H48.255C46.322 29.2356 44.755 30.8026 44.755 32.7356V168.144Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/> <path d="M47.2538 96.9537C46.0676 97.5464 45.3182 98.7585 45.3182 100.085C45.3182 101.411 46.0676 102.623 47.2538 103.215L83.3378 121.245C84.2431 121.698 85.2999 121.736 86.2357 121.35C87.1714 120.965 87.8944 120.193 88.2182 119.234L92.4884 106.59H108.958C110.891 106.59 112.458 105.023 112.458 103.09V97.0796C112.458 95.1466 110.891 93.5796 108.958 93.5796H92.4884L88.2182 80.9349C87.8944 79.9761 87.1714 79.2043 86.2357 78.8188C85.2999 78.4332 84.2431 78.4715 83.3378 78.9239L47.2538 96.9537ZM27.5 151.169C27.5 153.102 29.067 154.669 31 154.669H37.0139C38.9469 154.669 40.5139 153.102 40.5139 151.169V49C40.5139 47.067 38.9469 45.5 37.0139 45.5H31C29.067 45.5 27.5 47.067 27.5 49V151.169Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
</g> </g>
<path d="M71.8702 100.44L119.694 124.336L126.419 104.423H151.576V96.4575H126.419L119.694 76.5445L71.8702 100.44Z" fill="#00FF00"/> <path d="M48.8182 100.085L84.9022 118.114L89.9761 103.09H108.958V97.0796H89.9761L84.9022 82.0548L48.8182 100.085Z" fill="#00FF00"/>
<path d="M48.255 168.144H56.2255V32.7356H48.255V168.144Z" fill="#00FF00"/> <path d="M31 151.169H37.0139V49H31V151.169Z" fill="#00FF00"/>
<defs> <defs>
<filter id="filter0_d" x="37.255" y="25.7356" width="125.321" height="159.408" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <filter id="filter0_d" x="20" y="42" width="99.9582" height="126.169" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/> <feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/> <feOffset dy="6"/>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

+7 -8
View File
@@ -1,14 +1,13 @@
<?xml version="1.0"?> <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d)"> <g filter="url(#filter0_d)">
<path d="M127.961 100.44L80.1374 76.5441L73.4127 96.4572H48.255V104.422H73.4127L80.1374 124.335L127.961 100.44Z" fill="#0000FF"/> <path d="M150.14 100.085L114.056 118.114L108.982 103.09H90V97.0796H108.982L114.056 82.0548L150.14 100.085Z" fill="#0000FF"/>
<path d="M151.576 32.7358H143.606V168.144H151.576V32.7358Z" fill="#0000FF"/> <path d="M167.958 151.169H161.944V49H167.958V151.169Z" fill="#0000FF"/>
<path d="M129.525 103.571C130.712 102.978 131.461 101.766 131.461 100.44C131.461 99.1137 130.712 97.9016 129.525 97.3088L81.7018 73.4132C80.7965 72.9608 79.7397 72.9225 78.8039 73.3081C77.8682 73.6937 77.1452 74.4654 76.8214 75.4243L70.9005 92.9572H48.255C46.322 92.9572 44.755 94.5242 44.755 96.4572V104.422C44.755 106.355 46.322 107.922 48.255 107.922H70.9005L76.8214 125.455C77.1452 126.414 77.8682 127.186 78.8039 127.571C79.7397 127.957 80.7965 127.919 81.7018 127.466L129.525 103.571ZM155.076 32.7358C155.076 30.8028 153.509 29.2358 151.576 29.2358H143.606C141.673 29.2358 140.106 30.8028 140.106 32.7358V168.144C140.106 170.077 141.673 171.644 143.606 171.644H151.576C153.509 171.644 155.076 170.077 155.076 168.144V32.7358Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/> <path d="M151.704 103.215C152.891 102.623 153.64 101.411 153.64 100.085C153.64 98.7585 152.891 97.5464 151.704 96.9537L115.62 78.9239C114.715 78.4715 113.658 78.4332 112.723 78.8188C111.787 79.2043 111.064 79.9761 110.74 80.9349L106.47 93.5796H90C88.067 93.5796 86.5 95.1466 86.5 97.0796V103.09C86.5 105.023 88.067 106.59 90 106.59H106.47L110.74 119.234C111.064 120.193 111.787 120.965 112.723 121.35C113.658 121.736 114.715 121.698 115.62 121.245L151.704 103.215ZM167.958 154.669C169.891 154.669 171.458 153.102 171.458 151.169V49C171.458 47.067 169.891 45.5 167.958 45.5H161.944C160.011 45.5 158.444 47.067 158.444 49V151.169C158.444 153.102 160.011 154.669 161.944 154.669H167.958Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
</g> </g>
<path d="M127.961 100.44L80.1374 76.5441L73.4127 96.4572H48.255V104.422H73.4127L80.1374 124.335L127.961 100.44Z" fill="#00FF00"/> <path d="M150.14 100.085L114.056 118.114L108.982 103.09H90V97.0796H108.982L114.056 82.0548L150.14 100.085Z" fill="#00FF00"/>
<path d="M151.576 32.7358H143.606V168.144H151.576V32.7358Z" fill="#00FF00"/> <path d="M167.958 151.169H161.944V49H167.958V151.169Z" fill="#00FF00"/>
<defs> <defs>
<filter id="filter0_d" x="37.255" y="25.7358" width="125.321" height="159.408" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <filter id="filter0_d" x="79" y="42" width="99.9582" height="126.169" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/> <feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/> <feOffset dy="6"/>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

+7 -8
View File
@@ -1,14 +1,13 @@
<?xml version="1.0"?> <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d)"> <g filter="url(#filter0_d)">
<path d="M99.9154 72.3945L76.0197 120.218L95.9327 126.943V152.101H103.898V126.943L123.811 120.218L99.9154 72.3945Z" fill="#0000FF"/> <path d="M100.084 48.8182L82.0543 84.9022L97.0792 89.9761V108.958H103.089V89.9761L118.114 84.9022L100.084 48.8182Z" fill="#0000FF"/>
<path d="M32.2114 48.7793V56.7498H167.62V48.7793H32.2114Z" fill="#0000FF"/> <path d="M49 31V37.0139H151.169V31H49Z" fill="#0000FF"/>
<path d="M103.046 70.8301C102.454 69.6439 101.241 68.8945 99.9154 68.8945C98.5893 68.8945 97.3771 69.6439 96.7844 70.8301L72.8888 118.654C72.4364 119.559 72.3981 120.616 72.7837 121.552C73.1693 122.487 73.941 123.21 74.8999 123.534L92.4327 129.455V152.101C92.4327 154.034 93.9997 155.601 95.9327 155.601H103.898C105.831 155.601 107.398 154.034 107.398 152.101V129.455L124.931 123.534C125.89 123.21 126.661 122.487 127.047 121.552C127.433 120.616 127.394 119.559 126.942 118.654L103.046 70.8301ZM32.2114 45.2793C30.2784 45.2793 28.7114 46.8463 28.7114 48.7793V56.7498C28.7114 58.6828 30.2784 60.2498 32.2114 60.2498H167.62C169.553 60.2498 171.12 58.6828 171.12 56.7498V48.7793C171.12 46.8463 169.553 45.2793 167.62 45.2793H32.2114Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/> <path d="M103.215 47.2538C102.622 46.0676 101.41 45.3182 100.084 45.3182C98.7581 45.3182 97.5459 46.0676 96.9532 47.2538L78.9234 83.3378C78.4711 84.2431 78.4327 85.2999 78.8183 86.2357C79.2039 87.1714 79.9757 87.8944 80.9345 88.2182L93.5792 92.4884V108.958C93.5792 110.891 95.1462 112.458 97.0792 112.458H103.089C105.022 112.458 106.589 110.891 106.589 108.958V92.4884L119.234 88.2182C120.193 87.8944 120.964 87.1714 121.35 86.2357C121.736 85.2999 121.697 84.2431 121.245 83.3378L103.215 47.2538ZM49 27.5C47.067 27.5 45.5 29.067 45.5 31V37.0139C45.5 38.9469 47.067 40.5139 49 40.5139H151.169C153.102 40.5139 154.669 38.9469 154.669 37.0139V31C154.669 29.067 153.102 27.5 151.169 27.5H49Z" stroke="#0000FF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
</g> </g>
<path d="M99.9154 72.3945L76.0197 120.218L95.9327 126.943V152.101H103.898V126.943L123.811 120.218L99.9154 72.3945Z" fill="#00FF00"/> <path d="M100.084 48.8182L82.0543 84.9022L97.0792 89.9761V108.958H103.089V89.9761L118.114 84.9022L100.084 48.8182Z" fill="#00FF00"/>
<path d="M32.2114 48.7793V56.7498H167.62V48.7793H32.2114Z" fill="#00FF00"/> <path d="M49 31V37.0139H151.169V31H49Z" fill="#00FF00"/>
<defs> <defs>
<filter id="filter0_d" x="21.2114" y="41.7793" width="157.408" height="127.321" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <filter id="filter0_d" x="38" y="24" width="124.169" height="101.958" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/> <feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/> <feOffset dy="6"/>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB