view 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 source

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);
}