| demos\blackmajic\canvas\touch.sdf |
1 Form { 2 verticalAlign: full 3 horizontalAlign: full 4 layout: forms 5 rows: "d,4dlu,f:d:g,d,14dlu,d" 6 columns: "d:g" 7 widgets { 8 { 9 Canvas { 10 templateName: "canvas" 11 bounds { 12 x: "0" 13 y: "2" 14 } 15 scriptURL: "js/touch.js" 16 } [ onHidden="stopTouch()", onShown="startTouch()" ] 17 } 18 { 19 Label { 20 horizontalAlign: center 21 bounds { 22 x: "0" 23 y: "0" 24 } 25 value:<< <html> 26 JS Touch is an HTML 5 canvas demo developed by <b><a href="http://www.blogger.com/profile/11065090850907759957">Yusuke Kawasaki</a></b><br/> 27 The browser version can be seen at <b><a href="http://gyu.que.jp/jscloth/touch.html">http://gyu.que.jp/jscloth/touch.html/</a></b>, and 28 the article about the demo can be found 29 <b><a href="http://kawanet.blogspot.com/2009/02/incredible-javascriptcanvas-3d-demos.html">here</a></b> 30 >> 31 supportHyperLinks: true 32 }[onAction="window.browse(window.nativeEvent.actionCommand)"] 33 } 34 { 35 Label { 36 columnSpan: 1 37 horizontalAlign: center 38 bounds { 39 x: "0" 40 y: "4" 41 } 42 value: "Move the mouse around to change perspective" 43 } 44 } 45 } 46 } 47 48