Mercurial > projects > openmelee
comparison themes/default/XCheck.cfg @ 0:c10bc63824e7
Initial commit!
author | zzzzrrr <mason.green@gmail.com> |
---|---|
date | Fri, 20 Mar 2009 06:41:25 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c10bc63824e7 |
---|---|
1 widget XCheck { | |
2 layout = HBox; | |
3 layout = { | |
4 spacing = 5; | |
5 } | |
6 | |
7 [vexpand] new Group tick { | |
8 layout = Layered; | |
9 | |
10 [hfill vfill] new Graphic { | |
11 size = 13 13; | |
12 | |
13 style.normal = { | |
14 background = solid(white); | |
15 image = file("themes/default/img/radio.png"); | |
16 } | |
17 } | |
18 | |
19 [hfill vfill] new Graphic { | |
20 style.normal = { | |
21 background = solid(rgba(1, 1, 1, 0)); | |
22 image = file("themes/default/img/radio_active.png"); | |
23 } | |
24 | |
25 style.active = { | |
26 background = solid(white); | |
27 deactivation = .2; | |
28 } | |
29 } | |
30 | |
31 [hfill vfill] new Graphic { | |
32 style.normal = { | |
33 background = solid(rgba(1, 1, 1, 0)); | |
34 image = file("themes/default/img/radio_hover.png"); | |
35 } | |
36 | |
37 style.hover = { | |
38 background = solid(white); | |
39 activation = .5; | |
40 deactivation = .7; | |
41 } | |
42 } | |
43 } | |
44 new Label label; | |
45 | |
46 text = prop(label.text); | |
47 } |