initial checkin
[org.ibex.widgets.git] / src / org / ibex / theme / win2k / button.t
1 <!-- Copyleft 2004 - see COPYING for details [LGPL] -->
2
3 <ibex xmlns="org.ibex.theme.win2k">
4     <bevel redirect="$content" padding="5 10">
5
6         active ++= function(v) { form = "down"; }
7
8         enabled ++= function(v) { textcolor = v ? "#000000" : "#888888"; }
9
10         focused ++= function(v) { cascade = v; normal = true; }
11
12         var normal_fun = function(v) { form = "up"; }
13
14         hover ++= normal_fun;
15         normal ++= normal_fun;
16
17         <ui:box id="content" />
18     </bevel>
19 </ibex>