[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58607] branches/soc-2013-ui_replay: Drawing little widgets on toolbar panels so that they can be opened in a popup .

Vincent Akkermans vincent at ack-err.net
Thu Jul 25 20:44:39 CEST 2013


Revision: 58607
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58607
Author:   ack-err
Date:     2013-07-25 18:44:39 +0000 (Thu, 25 Jul 2013)
Log Message:
-----------
Drawing little widgets on toolbar panels so that they can be opened in a popup. Handler is a stub for now. The plan is to execute an operator that displays the panel in a popup window.

Modified Paths:
--------------
    branches/soc-2013-ui_replay/release/datafiles/blender_icons.svg
    branches/soc-2013-ui_replay/release/datafiles/blender_icons16.png
    branches/soc-2013-ui_replay/release/datafiles/blender_icons32.png
    branches/soc-2013-ui_replay/release/scripts/startup/bl_ui/space_view3d_toolbar.py
    branches/soc-2013-ui_replay/source/blender/editors/include/UI_icons.h
    branches/soc-2013-ui_replay/source/blender/editors/interface/interface.c
    branches/soc-2013-ui_replay/source/blender/editors/interface/interface_intern.h
    branches/soc-2013-ui_replay/source/blender/editors/interface/interface_panel.c

Modified: branches/soc-2013-ui_replay/release/datafiles/blender_icons.svg
===================================================================
--- branches/soc-2013-ui_replay/release/datafiles/blender_icons.svg	2013-07-25 18:43:05 UTC (rev 58606)
+++ branches/soc-2013-ui_replay/release/datafiles/blender_icons.svg	2013-07-25 18:44:39 UTC (rev 58607)
@@ -27,6 +27,39 @@
   <defs
      id="defs4">
     <linearGradient
+       id="linearGradient17432">
+      <stop
+         style="stop-color:#ffc98e;stop-opacity:1;"
+         offset="0"
+         id="stop17435" />
+      <stop
+         style="stop-color:#855d02;stop-opacity:1;"
+         offset="1"
+         id="stop17437" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient17420">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop17422" />
+      <stop
+         id="stop17428"
+         offset="1"
+         style="stop-color:#000000;stop-opacity:0.49803922;" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient17405">
+      <stop
+         style="stop-color:#a5a5a5;stop-opacity:1;"
+         offset="0"
+         id="stop17407" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="1"
+         id="stop17409" />
+    </linearGradient>
+    <linearGradient
        inkscape:collect="always"
        id="linearGradient18214">
       <stop
@@ -27357,6 +27390,64 @@
        y2="145.03127"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.46477431,0,0,2.1263819,-26.966496,-678.3919)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient17405"
+       id="linearGradient17536"
+       gradientUnits="userSpaceOnUse"
+       x1="428.49286"
+       y1="164.38229"
+       x2="437.05005"
+       y2="164.38229" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient17405"
+       id="linearGradient17649"
+       gradientUnits="userSpaceOnUse"
+       x1="428.49286"
+       y1="164.38229"
+       x2="437.05005"
+       y2="164.38229" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#aigrd2"
+       id="linearGradient17673"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.8008385,0,0,0.821004,432.60027,-164.5819)"
+       x1="108.71671"
+       y1="171.25618"
+       x2="105.85706"
+       y2="168.04703" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient16595"
+       id="linearGradient17675"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.8008385,0,0,0.8956408,542.96118,-186.23401)"
+       x1="-26.313976"
+       y1="178.07901"
+       x2="-28.432825"
+       y2="175.87964" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient37542"
+       id="linearGradient17697"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-1.0041772,0,0,0.9688607,-81.584854,117.13687)"
+       x1="-4.9152389"
+       y1="252.69086"
+       x2="-45.689278"
+       y2="252.63284" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient319"
+       id="linearGradient17699"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.9993234,0,0,1.0050357,-171.92846,305.72314)"
+       x1="107.96875"
+       y1="53.875"
+       x2="117"
+       y2="60.125" />
   </defs>
   <sodipodi:namedview
      id="base"
@@ -27368,11 +27459,11 @@
      objecttolerance="10000"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="32"
-     inkscape:cx="366.62647"
-     inkscape:cy="490.74855"
+     inkscape:zoom="90.509668"
+     inkscape:cx="477.86171"
+     inkscape:cy="475.43576"
      inkscape:document-units="px"
-     inkscape:current-layer="layer1"
+     inkscape:current-layer="g17653"
      showgrid="true"
      inkscape:window-width="1680"
      inkscape:window-height="1002"
@@ -27386,7 +27477,7 @@
      inkscape:object-paths="false"
      inkscape:snap-intersection-line-segments="true"
      inkscape:snap-intersection-grid-guide="false"
-     inkscape:window-maximized="0"
+     inkscape:window-maximized="1"
      inkscape:bbox-paths="false"
      inkscape:snap-global="true"
      inkscape:snap-bbox-midpoints="false"
@@ -69189,255 +69280,380 @@
          id="rect38281"
          style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:7.40000265;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
     </g>
+    <rect
+       style="opacity:0;fill:#b3b3b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect36540"
+       width="16"
+       height="16"
+       x="341"
+       y="136" />
     <g
-       id="g38011"
-       transform="translate(436,-380)">
-      <rect
-         y="516"
-         x="-95"
-         height="16"
-         width="16"
-         id="rect36540"
-         style="opacity:0;fill:#b3b3b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+       transform="translate(314,-379.99987)"
+       id="g36458">
       <g
-         id="g36458"
-         transform="translate(-122,1.3e-4)">
+         transform="translate(-116,424.99975)"
+         style="opacity:0.75"
+         id="g36460">
         <g
-           id="g36460"
-           style="opacity:0.75"
-           transform="translate(-116,424.99975)">
+           id="g36462"
+           transform="translate(-179,199.50012)">
+          <path
+             inkscape:connector-curvature="0"
+             sodipodi:nodetypes="ccccccc"
+             style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.00000167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+             d="m 328.5,-107.25 -4.5,1.75 0,6.5 4.5,2.25 4.25,-2 0,-6.75 -4.25,-1.75 z"
+             id="path36464" />
           <g
-             transform="translate(-179,199.50012)"
-             id="g36462">
+             id="g36468"
+             transform="translate(179,-179)">
             <path
-               id="path36464"
-               d="m 328.5,-107.25 -4.5,1.75 0,6.5 4.5,2.25 4.25,-2 0,-6.75 -4.25,-1.75 z"
-               style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.00000167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-               sodipodi:nodetypes="ccccccc"
-               inkscape:connector-curvature="0" />
-            <g
-               transform="translate(179,-179)"
-               id="g36468">
-              <path
-                 inkscape:export-ydpi="90"
-                 inkscape:export-xdpi="90"
-                 inkscape:export-filename="C:\Documents and Settings\Tata\Pulpit\4.png"
-                 style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.06666696px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-                 d="m 154,80 0,-6.5 -4.5,-1.75 0,10.5 L 154,80 z"
-                 id="path36470"
-                 sodipodi:nodetypes="ccccc"
-                 inkscape:connector-curvature="0" />
-            </g>
-            <path
-               sodipodi:nodetypes="ccccccc"
-               style="fill:#cccccc;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.06666696px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-               d="m 324,-99.00012 0,-6.49988 4.5,-1.75 0.5,0.25 0,10 -0.5,0.25 -4.5,-2.25012 z"
-               id="path36466"
+               inkscape:connector-curvature="0"
+               sodipodi:nodetypes="ccccc"
+               id="path36470"
+               d="m 154,80 0,-6.5 -4.5,-1.75 0,10.5 L 154,80 z"
+               style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.06666696px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
                inkscape:export-filename="C:\Documents and Settings\Tata\Pulpit\4.png"
                inkscape:export-xdpi="90"
-               inkscape:export-ydpi="90"
-               inkscape:connector-curvature="0" />
-            <path
-               style="fill:none;stroke:url(#linearGradient38049);stroke-width:0.99999982px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-               d="m 332.5,-105.5 0,6.25 -4,2 -4,-2.00012 0,-6.24988"
-               id="path36474"
-               sodipodi:nodetypes="ccccc"
-               inkscape:connector-curvature="0" />
-            <path
-               inkscape:export-ydpi="90"
-               inkscape:export-xdpi="90"
-               inkscape:export-filename="C:\Documents and Settings\Tata\Pulpit\4.png"
-               sodipodi:nodetypes="ccccc"
-               style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.06666696px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-               d="m 324,-105.5 4.5,-1.75 4.5,1.75 -4.5,2 -4.5,-2 z"
-               id="path36472"
-               inkscape:connector-curvature="0" />
+               inkscape:export-ydpi="90" />
           </g>
           <path
-             sodipodi:nodetypes="ccc"
-             style="opacity:0.95999995;fill:none;stroke:url(#linearGradient38051);stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
-             d="m 145.5,94.25012 c 0,0 4,1.75 4,1.75 l 4,-1.75"
-             id="path36476"
-             inkscape:connector-curvature="0" />
-          <rect

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list