<<

@checkbox
{
	#string name "spell_selection_checkbox";
	#point size 64, 64;
	@bitmap
	{
		#string name "name_bitmap";
		#point size 64, 64;
		#point pos 0, 0;
	}
	@bitmap
	{
		#string name "bitmap_checked";
		#point size 64, 64;
		#point pos 0, 0;
		#string texture_name "wcircle";
	}
}

@componentpalette
{
	#string name "spell_selection_menu";
	#point pos 0, 0;
	#int grid_width 5;
	#int grid_height 3;
	#point border_size 10, 10;
	#point element_size 64, 64;
	#point element_margin 8, 8;
	#int max_selected_elements 5;
	#string element_template "spell_selection_checkbox";	
}

@basic_form
{
	#string name "spell_selector_form";
	#point size 400, 315;
	@spell_selection_menu
	{
		#string name "spell_selector";		
		#bool top_anchor true;
		#point pos 0, 20;
		#int grid_width 5;
		#int grid_height 4;
				
		@element_list
		{
			truce_button;
			slow_button;
			haste_button;
			tornado_button;
			plague_button;
			condom_button;
			toredown_button;
			invisibility_button;
			shield_button;
			target_button;
			fireball_button;
			turncoat_button;
			lightning_button;
			dynamite_button;
			invulnerability_button;
			freeze_button;
			bloodlust_button;
			babyboom_button;
			overpop_button;
			indoctrinate_button;
		}									
	}
	
	@text
	{
		#string name "spell_counter";
		#point pos 0, 0;
		#float font_size 24;
		#string text_align "center";
		#string text_key "";			
		#bool top_anchor true;
	}
}
	
>>


