[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/parley-practice/parley
From: Daniel Laidig <d.laidig () gmx ! de>
Date: 2010-04-11 22:34:33
Message-ID: 20100411223433.AE46DAC896 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1113846 by laidig:
modify the reference theme so that it doesn't make your eyes hurt
notice the circle that keep their aspect ratio? :)
M +2 -2 src/practice/themedbackgroundrenderer.cpp
M +191 -68 themes/theme_reference.svg
--- branches/work/parley-practice/parley/src/practice/themedbackgroundrenderer.cpp \
#1113845:1113846 @@ -277,7 +277,7 @@
}
if ((!inside) && edge == Top) {
y -= itemRect.height();
- } else {
+ } else if(!inside) {
y += itemRect.height();
}
itemRect.moveTo(x, y);
@@ -310,7 +310,7 @@
}
if ((!inside) && edge == Left) {
x -= itemRect.width();
- } else {
+ } else if (!inside) {
x += itemRect.width();
}
itemRect.moveTo(x, y);
--- branches/work/parley-practice/parley/themes/theme_reference.svg #1113845:1113846
@@ -7,7 +7,6 @@
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="744.09448819"
@@ -36,16 +35,6 @@
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient5032"
- id="linearGradient5040"
- x1="154.28572"
- y1="416.64789"
- x2="197.14287"
- y2="427.25449"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(2.8666484,0,0,2.8666484,-285.51593,-734.62307)" />
<inkscape:perspective
id="perspective5073"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
@@ -95,6 +84,27 @@
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective5374"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective5396"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective5418"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
id="base"
@@ -103,17 +113,26 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="2.8284271"
- inkscape:cx="264.26631"
- inkscape:cy="566.11589"
+ inkscape:zoom="2"
+ inkscape:cx="177.75492"
+ inkscape:cy="532.92045"
inkscape:document-units="px"
inkscape:current-layer="layer1"
- showgrid="false"
+ showgrid="true"
inkscape:window-width="1680"
inkscape:window-height="1007"
inkscape:window-x="-4"
inkscape:window-y="-3"
- inkscape:window-maximized="1" />
+ inkscape:window-maximized="1"
+ inkscape:object-paths="false">
+ <inkscape:grid
+ type="xygrid"
+ id="grid5359"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
+ </sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
@@ -131,74 +150,178 @@
inkscape:groupmode="layer"
id="layer1">
<rect
- style="fill:url(#linearGradient5040);fill-opacity:1;fill-rule:evenodd;stroke:none"
- id="background-center"
- width="122.85636"
- height="122.85636"
- x="156.76698"
- y="398.33179"
- inkscape:label="#rect2816" />
- <rect
- style="fill:#ff0000;stroke:none"
+ style="fill:#000000;fill-opacity:0.58823529;stroke:none"
id="background-border-top"
- width="11.773734"
- height="4.6071134"
- x="212.30829"
- y="393.7244"
+ width="10.000006"
+ height="2.9999976"
+ x="205"
+ y="424.36218"
inkscape:label="#rect5063" />
<rect
- style="fill:#0000ff;stroke:none"
+ style="fill:#000000;fill-opacity:0.58823529;stroke:none"
id="background-border-right"
- width="11.773734"
- height="4.6071134"
- x="453.87311"
- y="-284.23044"
+ width="9.9999924"
+ height="2.9999976"
+ x="472.36218"
+ y="-263"
inkscape:label="#rect5063"
transform="matrix(0,1,-1,0,0,0)"
- inkscape:transform-center-x="-5.6309195"
- inkscape:transform-center-y="-15.868936" />
+ inkscape:transform-center-x="-3.6666662"
+ inkscape:transform-center-y="-13.478243" />
<rect
- style="fill:#ffff00;stroke:none"
+ style="fill:#000000;fill-opacity:0.58823529;stroke:none"
id="background-border-left"
- width="11.773734"
- height="4.6071134"
- x="453.87311"
- y="-156.76698"
+ width="9.9999924"
+ height="2.9999976"
+ x="472.36218"
+ y="-160"
inkscape:label="#rect5063"
transform="matrix(0,1,-1,0,0,0)"
- inkscape:transform-center-x="-5.6309172"
- inkscape:transform-center-y="-15.868936" />
+ inkscape:transform-center-x="-3.6666647"
+ inkscape:transform-center-y="-13.478243" />
<rect
- style="fill:#008000;stroke:none"
+ style="fill:#000000;fill-opacity:0.58823529;stroke:none"
id="background-border-bottom"
- width="11.773734"
- height="4.6071134"
- x="212.30829"
- y="521.18842"
+ width="10.000006"
+ height="2.9999976"
+ x="205"
+ y="527.36218"
inkscape:label="#rect5063" />
+ <g
+ id="background-center"
+ inkscape:label="#g5467">
+ <rect
+ inkscape:label="#rect2816"
+ y="427.36218"
+ x="160"
+ height="100"
+ width="100"
+ id="rect2816"
+ style="fill:#000000;fill-opacity:0.11764706;fill-rule:evenodd;stroke:none" \
/> + <path
+ inkscape:label="#rect5352"
+ sodipodi:nodetypes="cscccc"
+ id="rect5352"
+ d="m 160.00001,495.85331 c 0,0 13.56645,2.12415 34.74777,-10.64778 C \
232.60858,462.37619 260,457.86663 260,457.86663 l 0,69.49555 -99.99999,0 0,-31.50887 \
z" + style="fill:#000000;fill-opacity:0.11764706;fill-rule:evenodd;stroke:none" \
/> + </g>
+ <g
+ transform="translate(10,35)"
+ inkscape:label="#g5450"
+ id="background-inside-top-ratio">
+ <path
+ sodipodi:type="arc"
+ style="fill:#000000;fill-opacity:0.11764706"
+ id="path5442"
+ sodipodi:cx="50"
+ sodipodi:cy="467.36218"
+ sodipodi:rx="5"
+ sodipodi:ry="5"
+ d="m 55,467.36218 c 0,2.76143 -2.238576,5 -5,5 -2.761424,0 -5,-2.23857 \
-5,-5 0,-2.76142 2.238576,-5 5,-5 2.761424,0 5,2.23858 5,5 z" + \
transform="translate(55,-30)" + inkscape:transform-center-x="-5"
+ inkscape:transform-center-y="-5" />
+ <rect
+ style="fill:none;stroke:none"
+ id="rect5444"
+ width="150"
+ height="50"
+ x="-30"
+ y="427.36218" />
+ <path
+ inkscape:transform-center-y="-3.9999995"
+ inkscape:transform-center-x="-4"
+ transform="matrix(0.8,0,0,0.8,54,72.472437)"
+ d="m 55,467.36218 c 0,2.76143 -2.238576,5 -5,5 -2.761424,0 -5,-2.23857 \
-5,-5 0,-2.76142 2.238576,-5 5,-5 2.761424,0 5,2.23858 5,5 z" + \
sodipodi:ry="5" + sodipodi:rx="5"
+ sodipodi:cy="467.36218"
+ sodipodi:cx="50"
+ id="path5446"
+ style="fill:#000000;fill-opacity:0.11764706"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="fill:#000000;fill-opacity:0.11764706"
+ id="path5448"
+ sodipodi:cx="50"
+ sodipodi:cy="467.36218"
+ sodipodi:rx="5"
+ sodipodi:ry="5"
+ d="m 55,467.36218 c 0,2.76143 -2.238576,5 -5,5 -2.761424,0 -5,-2.23857 \
-5,-5 0,-2.76142 2.238576,-5 5,-5 2.761424,0 5,2.23858 5,5 z" + \
transform="matrix(0.60000007,0,0,0.60000041,52.999997,169.94468)" + \
inkscape:transform-center-x="-3.0000012" + \
inkscape:transform-center-y="-3.0000098" /> + </g>
<path
- style="fill:#0000ff;stroke:none"
- d="m 156.76698,393.5098 0,5.57151 -5.54043,0 5.54043,-5.57151 z"
- id="background-border-topleft"
- sodipodi:nodetypes="cccc"
- inkscape:label="#rect5153" />
+ inkscape:transform-center-y="2.0999587"
+ inkscape:transform-center-x="2.699987"
+ sodipodi:end="1.5707963"
+ sodipodi:start="0"
+ transform="matrix(0,1.1999986,-1.1999954,0,795.83217,344.36239)"
+ d="m 155,529.86218 a 2.5,2.5 0 0 1 -2.5,2.5 l 0,-2.5 z"
+ sodipodi:ry="2.5"
+ sodipodi:rx="2.5"
+ sodipodi:cy="529.86218"
+ sodipodi:cx="152.5"
+ id="background-border-bottomleft"
+ style="fill:#000000;fill-opacity:0.58823529"
+ sodipodi:type="arc"
+ inkscape:label="#path5361" />
<path
- style="fill:#008000;stroke:none"
- d="m 284.83415,398.33148 -5.5715,0 0,-5.54043 5.5715,5.54043 z"
+ inkscape:transform-center-y="2.7000253"
+ inkscape:transform-center-x="-2.0999788"
+ sodipodi:end="1.5707963"
+ sodipodi:start="0"
+ transform="matrix(1.2000002,0,0,1.1999958,76.999969,-108.47018)"
+ d="m 155,529.86218 a 2.5,2.5 0 0 1 -2.5,2.5 l 0,-2.5 z"
+ sodipodi:ry="2.5"
+ sodipodi:rx="2.5"
+ sodipodi:cy="529.86218"
+ sodipodi:cx="152.5"
+ id="background-border-bottomright"
+ style="fill:#000000;fill-opacity:0.58823529"
+ sodipodi:type="arc"
+ inkscape:label="#path5361-9" />
+ <path
+ inkscape:transform-center-y="-2.0999826"
+ inkscape:transform-center-x="-2.6999769"
+ sodipodi:end="1.5707963"
+ sodipodi:start="0"
+ transform="matrix(0,-1.1999986,1.2000038,0,-375.83667,610.36196)"
+ d="m 155,529.86218 a 2.5,2.5 0 0 1 -2.5,2.5 l 0,-2.5 z"
+ sodipodi:ry="2.5"
+ sodipodi:rx="2.5"
+ sodipodi:cy="529.86218"
+ sodipodi:cx="152.5"
id="background-border-topright"
- sodipodi:nodetypes="cccc"
- inkscape:label="#rect5153" />
+ style="fill:#000000;fill-opacity:0.58823529"
+ sodipodi:type="arc"
+ inkscape:label="#path5361-9-2" />
<path
- style="fill:#ffff00;stroke:none"
- d="m 279.27818,526.75993 0,-5.5715 5.54043,0 -5.54043,5.5715 z"
- id="background-border-bottomright"
- sodipodi:nodetypes="cccc"
- inkscape:label="#rect5153" />
- <path
- style="fill:#ff0000;stroke:none"
- d="m 151.73314,521.18843 5.57151,0 0,5.54043 -5.57151,-5.54043 z"
- id="background-border-bottomleft"
- sodipodi:nodetypes="cccc"
- inkscape:label="#rect5153" />
+ inkscape:transform-center-y="-2.7000335"
+ inkscape:transform-center-x="2.0999827"
+ sodipodi:end="1.5707963"
+ sodipodi:start="0"
+ transform="matrix(-1.2000026,0,0,-1.1999987,343.0004,1063.1961)"
+ d="m 155,529.86218 a 2.5,2.5 0 0 1 -2.5,2.5 l 0,-2.5 z"
+ sodipodi:ry="2.5"
+ sodipodi:rx="2.5"
+ sodipodi:cy="529.86218"
+ sodipodi:cx="152.5"
+ id="background-border-topleft"
+ style="fill:#000000;fill-opacity:0.58823529"
+ sodipodi:type="arc"
+ inkscape:label="#path5361-9-2-0" />
+ <text
+ xml:space="preserve"
+ style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream \
Vera Sans" + x="161.5"
+ y="404.36218"
+ id="text5436"><tspan
+ sodipodi:role="line"
+ id="tspan5438"
+ x="161.5"
+ y="404.36218">background:</tspan></text>
</g>
</svg>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic