You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/05/02 04:50:34 UTC
svn commit: r770886 -
/incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd
Author: tvolkert
Date: Sat May 2 02:50:34 2009
New Revision: 770886
URL: http://svn.apache.org/viewvc?rev=770886&view=rev
Log:
Made the clock look sexier
Modified:
incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd
Modified: incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd?rev=770886&r1=770885&r2=770886&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd (original)
+++ incubator/pivot/trunk/wtk/test/pivot/wtk/test/clock.wtkd Sat May 2 02:50:34 2009
@@ -22,16 +22,26 @@
<canvas>
<Canvas xmlns="pivot.wtk.media.drawing">
<Ellipse x="41" y="1" width="238" height="238" stroke="#777777" strokeThickness="1" fill="#eeeeee"/>
- <Line x="160" y="120" x1="0" y1="1" x2="0" y2="-60" strokeThickness="5">
+ <Path x="160" y="120" stroke="#000000" fill="#000000">
+ <Path.MoveTo x="-5" y="0"/>
+ <Path.LineTo x="0" y="-60"/>
+ <Path.LineTo x="5" y="0"/>
+ <Path.CurveTo x1="5" y1="9" x2="-5" y2="9" x3="-5" y3="0"/>
+
<transforms>
<Shape.Rotate wtkx:id="hoursRotation"/>
</transforms>
- </Line>
- <Line x="160" y="120" x1="0" y1="3" x2="0" y2="-100" stroke="#0000dd" strokeThickness="3">
+ </Path>
+ <Path x="160" y="120" stroke="#0000dd" fill="#0000dd">
+ <Path.MoveTo x="-3" y="0"/>
+ <Path.LineTo x="0" y="-100"/>
+ <Path.LineTo x="3" y="0"/>
+ <Path.CurveTo x1="3" y1="4" x2="-3" y2="4" x3="-3" y3="0"/>
+
<transforms>
<Shape.Rotate wtkx:id="minutesRotation"/>
</transforms>
- </Line>
+ </Path>
<Line x="160" y="120" x1="0" y1="10" x2="0" y2="-110" stroke="#dd0000" strokeThickness="2">
<transforms>
<Shape.Rotate wtkx:id="secondsRotation"/>