<?xml version="1.0" encoding="utf-8"?>
<button>
	<title>Text</title>
	<svg width="8" height="8" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
		<defs>
			<filter id="shadowFilter">
				<feGaussianBlur stdDeviation="3" />
			</filter>
		</defs>
		<rect id="background" x="0" y="0" width="100%" height="100%" rx="5" ry="5" fill="none"/>
		<use id="shadow" xlink:href="#text" x="2" y="2" style="visibility:hidden;fill:#404040;filter:url(#shadowFilter)" />
		<g id="gText" fill="#FFFFFF">
			<text id="text" x="50%" y="50%" style="font-size:26;font-style:normal;font-weight:normal;"
				text-anchor="middle" dominant-baseline="middle">button</text>
		</g>
	</svg>
	<parameters>
		<parameter>
			<title>Label</title>
			<name>text</name>
			<type>text</type>
			<element>text</element>
		</parameter>
		<parameter>
			<title>Text colour</title>
			<name>text_fill</name>
			<type>colour</type>
			<element>gText</element>
			<attribute>fill</attribute>
			<changeable/>
			<default-value>
				 <highlighted>#0000FF</highlighted>
			 <selected>#FF0000</selected>
			</default-value>
		</parameter>
		<parameter>
			<title>Background colour</title>
			<name>bgFill</name>
			<type>colour</type>
			<element>background</element>
			<attribute>fill</attribute>
		</parameter>
		<parameter>
			<title>Rx</title>
			<name>rx</name>
			<type>integer</type>
			<element>background</element>
			<attribute>rx</attribute>
		</parameter>
		<parameter>
			<title>Ry</title>
			<name>ry</name>
			<type>integer</type>
			<element>background</element>
			<attribute>ry</attribute>
		</parameter>
		<parameter>
			<title>Shadow</title>
			<name>shadow</name>
			<type>shadow</type>
			<element>shadow</element>
			<attribute>fill</attribute>
		</parameter>
	</parameters>
	<init-parameter>text</init-parameter>
	<default-size>
		<width>8|text+8</width>
		<height>8|text+8</height>
	</default-size>
	<min-size>
		<width>8|text</width>
		<height>8|text</height>
	</min-size>
</button>
