initial checkin
[org.ibex.widgets.git] / src / org / ibex / games / reversi / main.t
1 <ibex  xmlns:theme="ibex.theme"  \r
2        xmlns="ibex.widget"\r
3        xmlns:games="org.ibex.games"\r
4        xmlns:reversi="org.ibex.games.reversi">\r
5 \r
6         <ui:box cols="3" shrink="false">\r
7         <ui:box fill="white" shrink="false"/>\r
8         <ui:box fill="white" shrink="false"/>\r
9         <ui:box fill="white" shrink="false"/>\r
10         <ui:box fill="white" shrink="false" cols="1">\r
11                 <button text="New Game" >\r
12                 Press1 ++= function(f) {\r
13                   ibex.log.info("starting new game");\r
14 //                $reversiboard[31].fill=".org.ibex.games.reversi.dark_stone";\r
15                 }\r
16                 </button>\r
17 \r
18         </ui:box>\r
19         <reversi:board fill="white"/>\r
20         <ui:box fill="white" shrink="false"/>\r
21         <ui:box fill="white" shrink="false"/>\r
22         <ui:box fill="white" shrink="false"/>\r
23         <ui:box fill="white" shrink="false"/>\r
24         <ui:box/>\r
25         </ui:box>\r
26 </ibex>