view themes/default/TickBox.cfg @ 19:08ddf9e71b88

steer to avoid
author zzzzrrr <mason.green@gmail.com>
date Wed, 25 Mar 2009 14:44:47 -0400
parents c10bc63824e7
children
line wrap: on
line source

widget TickBox {
	layout = Layered;
	
	[hfill vfill] new Graphic {
		size = 13 13;

		style.normal = {
			background = solid(white);
			image = file("themes/default/img/tick.png");
		}
	}

	[hfill vfill] new Graphic {
		style.normal = {
			background = solid(rgba(1, 1, 1, 0));
			image = file("themes/default/img/tick_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/tick_hover.png");
		}

		style.hover = {
			background = solid(white);
			activation = .1;
			deactivation = .7;
		}
	}
}