[Bf-blender-cvs] [04e445ccfb2] filebrowser_redesign: UI: File Browser Icons That Allow Themes

Harley Acheson noreply at git.blender.org
Mon Aug 12 18:56:56 CEST 2019


Commit: 04e445ccfb2a8c52f5f9128e2752df1d7d2358ce
Author: Harley Acheson
Date:   Mon Aug 12 09:56:06 2019 -0700
Branches: filebrowser_redesign
https://developer.blender.org/rB04e445ccfb2a8c52f5f9128e2752df1d7d2358ce

UI: File Browser Icons That Allow Themes

This alters the prvicon sheet so icons are full opacity so can be themed later

===================================================================

M	release/datafiles/prvicons.png
M	release/datafiles/prvicons.svg
M	source/blender/editors/space_file/file_draw.c

===================================================================

diff --git a/release/datafiles/prvicons.png b/release/datafiles/prvicons.png
index e2052fe75ed..91897df4eb6 100644
Binary files a/release/datafiles/prvicons.png and b/release/datafiles/prvicons.png differ
diff --git a/release/datafiles/prvicons.svg b/release/datafiles/prvicons.svg
index 3703fb9a58b..94f6f5fe284 100644
--- a/release/datafiles/prvicons.svg
+++ b/release/datafiles/prvicons.svg
@@ -28,14 +28,14 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="1"
-     inkscape:cx="318.8617"
-     inkscape:cy="61.822653"
+     inkscape:zoom="1.4142136"
+     inkscape:cx="367.29787"
+     inkscape:cy="78.391196"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      showgrid="true"
      units="px"
-     showguides="true"
+     showguides="false"
      inkscape:guide-bbox="true"
      inkscape:window-width="1920"
      inkscape:window-height="1017"
@@ -77,7 +77,7 @@
      transform="translate(0,-229.26665)">
     <g
        id="g7599"
-       style="display:inline;opacity:0.6;enable-background:new"
+       style="display:inline;opacity:1;enable-background:new"
        transform="matrix(0.36639835,0,0,0.39687514,-274.26749,353.22402)"
        inkscape:export-xdpi="90"
        inkscape:export-ydpi="90">
@@ -85,7 +85,7 @@
          sodipodi:nodetypes="ccccccccccc"
          inkscape:connector-curvature="0"
          d="m 892,-165 c 0,0.55581 -0.4477,1.00353 -1,1 H 790.9964 c -0.5558,0.004 -1.0036,-0.44419 -1,-1 v -86 c 0,-1.32609 0.5269,-2.59785 1.4824,-3.51777 l 34,-34 c 0.9198,-0.95544 2.1916,-1.48222 3.5176,-1.48223 l 61.9911,2e-5 c 0.5523,-3e-5 1,0.44769 1.0015,0.99998 z"
-         style="display:inline;opacity:0.3;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:fill markers stroke;enable-background:new"
+         style="display:inline;opacity:0.2;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:fill markers stroke;enable-background:new"
          id="path7410" />
       <path
          style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:nor [...]
@@ -98,7 +98,12 @@
     <g
        id="g7522"
        transform="matrix(0.39678995,0,0,0.38115181,-318.59595,322.98315)"
-       style="display:inline;opacity:0.6;enable-background:new">
+       style="display:inline;opacity:1;enable-background:new">
+      <path
+         id="path7406"
+         d="m 998.5,-183 h 121 c 1.385,0 2.5,1.115 2.5,2.5 v 70 c 0,1.385 -1.115,2.5 -2.5,2.5 h -121 c -1.385,0 -2.5,-1.115 -2.5,-2.5 v -70 c 0,-1.385 1.115,-2.5 2.5,-2.5 z"
+         style="opacity:0.2;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4.08210707;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:105.70774078;stroke-opacity:1;marker:none;paint-order:fill markers stroke"
+         inkscape:connector-curvature="0" />
       <path
          style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:nor [...]
          d="m 3.3139482,12.015495 c -2.006036,3.95e-4 -3.33965513,1.372739 -3.33965513,3.455243 v 93.018592 c 0,1.9217 1.41051313,3.46419 3.33221313,3.46419 H 124.67861 c 1.9217,0 3.32139,-1.53182 3.32139,-3.45352 l 0.002,-81.922577 c 0,-1.9217 -1.41286,-3.470731 -3.33456,-3.470734 l -77.349398,-1.05e-4 c -0.666809,0 -1.333619,-0.694168 -1.333619,-1.388336 l 9.63e-4,-6.24149 c 2.96e-4,-1.921701 -1.39969,-3.469389 -3.32139,-3.469011 z m 0.6612023,26.362782 120.0220695,-0.0081 c 0.84831,-5 [...]
@@ -106,46 +111,37 @@
          id="path7402"
          inkscape:connector-curvature="0"
          sodipodi:nodetypes="sccssccsccssscsssssscc" />
+    </g>
+    <g
+       id="g7522-3"
+       transform="matrix(0.39678996,0,0,0.38115182,-250.8744,322.97859)"
+       style="display:inline;opacity:0.7;enable-background:new">
       <path
-         id="path7406"
+         id="path7406-5"
          d="m 998.5,-183 h 121 c 1.385,0 2.5,1.115 2.5,2.5 v 70 c 0,1.385 -1.115,2.5 -2.5,2.5 h -121 c -1.385,0 -2.5,-1.115 -2.5,-2.5 v -70 c 0,-1.385 1.115,-2.5 2.5,-2.5 z"
-         style="opacity:0.3;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4.08210707;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:105.70774078;stroke-opacity:1;marker:none;paint-order:fill markers stroke"
+         style="opacity:0.2;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:105.70774078;stroke-opacity:1;marker:none;paint-order:fill markers stroke"
          inkscape:connector-curvature="0" />
+      <path
+         style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:nor [...]
+         d="m 3.3437165,12.007747 c -1.9217,0 -3.33851694,1.55124 -3.33851694,3.47294 v 93.018493 c 0,1.9217 1.40937494,3.46977 3.33107494,3.46983 l 121.3460555,0.004 c 1.9217,6e-5 3.3503,-1.55201 3.3503,-3.47371 V 26.587372 c 0,-1.9217 -1.61865,-3.465047 -3.54035,-3.465188 l -77.143603,-0.0057 c -0.666809,0 -1.333619,-0.694168 -1.33369,-1.385885 l 0.0036,-6.242269 c 0.0011,-1.9217 -1.414574,-3.480632 -3.336274,-3.480632 z M 3.9978222,38.38666 124.03402,38.39396 c 0.8483,5.1e-5 1.33693,0 [...]
+         transform="translate(995,-219)"
+         id="path7402-0"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="sccssccsccssssssssssss" />
     </g>
     <g
-       id="g10301"
-       transform="translate(3.4415953e-4,-12.699403)">
-      <g
-         style="display:inline;opacity:0.5;enable-background:new"
-         transform="matrix(0.39678996,0,0,0.38115182,-250.87474,335.67799)"
-         id="g7522-3">
-        <path
-           sodipodi:nodetypes="sccssccsccssssssssssss"
-           inkscape:conn

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list