Unpolished minsize example xml

From MythTV Official Wiki
Revision as of 21:43, 29 May 2011 by Jpoet (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
    <window name="browser">
	<area>0, 0, 1920, 1080</area>

	<shape name="previewShape">
	    <area>33,802,440,254</area>
	    <type>roundbox</type>
	    <cornerradius>5</cornerradius>
	    <fill color="#000000" alpha="160" />
	    <line color="#FFFFFF" alpha="160" width="8" />
	</shape>
	<imagetype name="screenshot">
	    <area>44,811,420,234</area>
	    <preserveaspect>true</preserveaspect>
	</imagetype>

	<imagetype name="coverart">
	    <area>30,25,446,680</area>
	    <filename />
	    <preserveaspect>true</preserveaspect>
	</imagetype>

        <buttonlist name="videos">
	    <arrange>stack</arrange>
	    <align>bottom,left</align>
	    <area>505,120,1370,870</area>
	    <buttonarea>0,10,100%,100%</buttonarea>
	    <wrapstyle>selection</wrapstyle>
	    <spacing>0</spacing>
	    
	    <textarea name="position">
		<area>1250,0,150,45</area>
		<font>basesmall</font>
	    </textarea>
	    
	    <statetype name="buttonitem">
		<area>0,0,1370,870</area>
		<state name="inactive">
		    <area>5,0,1360,40</area>
		    
		    <shape name="statusimage">
			<area>0,0,1360,40</area>
			<type>roundbox</type>
			<line color="#9e9e9e" alpha="255" width="1" />
			<fill color="#000000" alpha="144" />
			<cornerradius>10</cornerradius>
		    </shape>
		    
		    <textarea name="title">
			<area>25,10,98%,40</area>
			<align>left</align>
			<font>basemedium</font>
			<template>%TITLE% - %SUBTITLE%</template>
		    </textarea>

		    <textarea name="##x##" from="basetextarea">
			<area>1210,10,70,40</area>
			<font>basesmall</font>
			<align>right</align>
		    </textarea>

		    <statetype name="watchedstate">
			<area>1290,10,30,30</area>
			<state name="yes">
			    <imagetype name="yes">
				<filename>type/watched.png</filename>
			    </imagetype>
			</state>
			<state name="no">
			    <imagetype name="blank">
				<filename>type/blank.png</filename>
			    </imagetype>
			</state>
		    </statetype>
		</state>
		
		<state name="active" from="inactive">
		</state>
		
		<state name="selectedinactive">
		    <area>0,0,1370,400</area>
		    <minsize>1370, 40</minsize>
		    
		    <group name="buttongroup">
			<area>0, 0, 1370, 400</area>
			<minsize>1370, 40</minsize>

			<shape name="statusimage">
			    <area>0,0,1370,400</area>
			    <minsize>1370,40</minsize>
			    <type>roundbox</type>
			    <line color="#EEEEEE" alpha="255" width="5" />
			    <fill color="#000000" alpha="144" />
			    <cornerradius>10</cornerradius>
			</shape>

			<textarea name="title">
			    <area>25,10,1250,45</area>
			    <align>left</align>
			    <font>baselargebold</font>
			    <template>%TITLE% - %SUBTITLE%</template>
			</textarea>
			<textarea name="##x##" from="basetextarea">
			    <area>1215,10,70,40</area>
			    <font>basesmall</font>
			    <align>right</align>
			</textarea>


			<statetype name="watchedstate">
			    <area>1290,10,30,30</area>
			    <state name="yes">
				<imagetype name="yes">
				    <filename>type/watched.png</filename>
				</imagetype>
			    </state>
			    <state name="no">
				<imagetype name="blank">
				    <filename>type/blank.png</filename>
				</imagetype>
			    </state>
			</statetype>

			<group name="extragroup">
			    <area>50, 50, 1320, 350</area>
			    <minsize>1, 1</minsize>

			    <shape name="extrashape">
				<area>0,0,1320,340</area>
				<minsize>5,5</minsize>
				<type>roundbox</type>
				<line color="#EEEEEE" alpha="255" width="5" />
				<fill color="#00FF00" alpha="90" />
				<cornerradius>10</cornerradius>
			    </shape>

			    <textarea name="description">
				<align>left</align>
				<area>15,30,900,300</area>
				<minsize>800,1</minsize>
				<shrink>short</shrink>
				<font>basesmall</font>
				<multiline>yes</multiline>
				<cutdown>yes</cutdown>
				<template>%YEARSTARS% %DESCRIPTION%</template>
			    </textarea>

			    <group name="dirgroup">
				<area>850,5,700,40</area>
				<minsize>1, 1</minsize>
				<shape name="dirshape">
				    <area>0,0,700,40</area>
				    <minsize>5,5</minsize>
				    <type>roundbox</type>
				    <line color="#EEEEEE" alpha="255" width="1" />
				    <fill color="#FF0000" alpha="70" />
				    <cornerradius>10</cornerradius>
				</shape>
				<textarea name="director">
				    <area>5,5,690,30</area>
				    <minsize>1, 1</minsize>
				    <font>basesmall</font>
				    <template>Directed by %DIRECTOR%</template>
				</textarea>
			    </group>
			</group>		
		    </group>
		</state>

		<state name="selectedactive" from="selectedinactive" />
	    </statetype>
	</buttonlist>
    </window>