projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760137d
)
ux/TimePicker.js
author
Alan Knowles
<alan@roojs.com>
Sun, 26 Aug 2012 10:02:48 +0000
(18:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 26 Aug 2012 10:02:48 +0000
(18:02 +0800)
ux/TimePicker.js
patch
|
blob
|
history
diff --git
a/ux/TimePicker.js
b/ux/TimePicker.js
index
aad3f78
..
fd4f0ea
100644
(file)
--- a/
ux/TimePicker.js
+++ b/
ux/TimePicker.js
@@
-111,6
+111,22
@@
Roo.extend(Roo.ux.TimePicker , Roo.form.DisplayField , {
// fixme .. add the quater hour segments..
+ var pie = paper.piechart(
+ paper.height / 2,
+ paper.height / 2 ,
+ (paper.height / 2) - 130,
+ [ 1 , 1 ,1 , 1 ],
+ {
+ cut: 4 ,
+ colors : colors,
+ no_sort : true,
+ start_angle : 270
+ }
+ );
+
+ paper.circle(pie.cx,pie.cy, (paper.height / 2) - 140).attr({fill: "#fff"})
+
+
var atime = "Pick\nTime";
var asector = false;