diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/XCheck.cfg	Fri Mar 20 06:41:25 2009 -0400
@@ -0,0 +1,47 @@
+widget XCheck {
+	layout = HBox;
+	layout = {
+		spacing = 5;
+	}
+	
+	[vexpand] new Group tick {
+		layout = Layered;
+		
+		[hfill vfill] new Graphic {
+			size = 13 13;
+
+			style.normal = {
+				background = solid(white);
+				image = file("themes/default/img/radio.png");
+			}
+		}
+
+		[hfill vfill] new Graphic {
+			style.normal = {
+				background = solid(rgba(1, 1, 1, 0));
+				image = file("themes/default/img/radio_active.png");
+			}
+
+			style.active = {
+				background = solid(white);
+				deactivation = .2;
+			}
+		}
+
+		[hfill vfill] new Graphic {
+			style.normal = {
+				background = solid(rgba(1, 1, 1, 0));
+				image = file("themes/default/img/radio_hover.png");
+			}
+
+			style.hover = {
+				background = solid(white);
+				activation = .5;
+				deactivation = .7;
+			}
+		}
+	}
+	new Label label;
+	
+	text = prop(label.text);
+}