Source

Fat x Fast / FatxFast / rsc / widgets.xml

Full commit
<data>
<templates>
	<box type="boxwidget" name="bg" width="960" height="640" x="0" y="0"></box>
	<bgbox type="boxwidget" name="bg" x="0" y="0" width="960" height="640" bgimage="bg.png"></bgbox>
	
	<gamebar type="boxwidget" name="gamebar" width="960" height="200" x="0" y="0"></gamebar>
	<buffbar type="menuwidget" name="buffbar" width="64" height="650" x="0" y="95"></buffbar>	
	<attributebar type="boxwidget" name="attributebar" width="960" height="150" x="0" y="0"></attributebar> 
    <gamehud type="boxwidget" name="game" width="960" height="640" x="0" y="0"></gamehud>
    <innerhud type="boxwidget" name="innerhud" width="960" height="640" x="0" y="0" />
	<gametext type="textwidget" y="0" size="24" color="gold3"></gametext>
    <separator type="boxwidget" y="0" x="0" bgcolor="black" border-color="grey40" border-width="1" />

    <rageframe type="containerwidget" y="600" width="200" x="50" height="20" bgcolor="transblack-gui" border-width="1" border-color="grey7" />
    <flippedminimap type="boxwidget" y="5" width="160" x="400" height="160" border-width="2" border-color="grey20" />
    <minimap type="boxwidget" y="430" width="200" x="750" height="200" border-width="0" border-color="grey7" />
	<buffwidget type="boxwidget" y="auto" width="100" height="64"></buffwidget>
	<bufftext name="bufftext" type="textwidget" y="17" x="17" size="22" color="gold3" font="lavoir.ttf"></bufftext>
    <buffstacksizetext name="buffstacksizetext" type="textwidget" y="0" x="0" size="22" color="red3" font="lavoir.ttf"/>

	<mainmenu type="menuwidget" name="menucontainer" x="330" y="80" width="300" height="600"></mainmenu>
	<gamemenu type="menuwidget" name="menucontainer" x="330" y="65" width="300" bgcolor="perse" border-width="6" border-color="grey7"></gamemenu>
	<menu type="menuwidget" name="menu" y="auto" width="300" height="405"></menu>
	<autohmenu type="menuwidget" name="menu" y="75" width="300"></autohmenu>

    <linkbutton type="scenelinkwidget" size="18" y="68" color="grey88" bgcolor="perse" font="lavoir.ttf" align="center" width="160" height="18" border-width="2" border-color="black"/>
	<menulink type="scenelinkwidget" size="22" y="auto" color="grey88" align="center" width="300" height="45"></menulink>
	<link type="linkwidget" size="22" y="auto" color="grey88" align="center" width="300" height="45"></link>
	<menutext type="textwidget" size="22" y="auto" color="grey88" align="center" width="300" height="45"></menutext>
	<titletext type="textwidget" name="menutitle" size="30" y="auto" color="grey88" align="center" width="300" height="60"></titletext>
	<gtitletext type="textwidget" name="gmenutitle" size="30" y="15" color="grey88" align="center" width="300" height="50"></gtitletext>
	<multiline type="textwidget" size="22" y="auto" color="grey88" align="center" width="300"></multiline>
	<button type="buttonwidget" size="22" y="auto" color="grey88" align="center" width="300" height="45"></button>
	<back type="backlinkwidget" text="Back" handler="pop_scene" name="back" size="24" y="auto" color="grey88" align="center" width="300" height="75">Back</back>
	
	<popup type="boxwidget" name="popup" width="400" height="100" x="280" y="120" bgcolor="grey15" border-width="4" border-color="grey7"></popup>
	<popuptext type="textwidget" name="popuptext" size="18" x="20" color="grey88"></popuptext>
</templates>
<scenes>
	<introscene>
		<bgbox>
			<mainmenu>
				<titletext><text>Fat x Fast</text></titletext>
				<menu>
					<menulink name="modescene" href="menuscene">
						<text>New Game</text>
						<properties>
							<property key="name" value="modescene" />
						</properties>
					</menulink>
					<menulink name="savescene" href="savescene">
						<text>Game Saves</text>
					</menulink>
					<menulink name="scorescene" href="scorescene">
						<text>HighScores</text>
					</menulink>
					<menulink name="test" href="configscene">
						<text>Settings</text>
					</menulink>
					<menulink name="exitscene" href="exitscene">
						<text>Quit Game</text>
					</menulink>
				</menu>
			</mainmenu>
		</bgbox>
	</introscene>
    <modescene>
		<bgbox>
			<mainmenu>
				<titletext><text>Select game mode!</text></titletext>
				<menu>
					<menulink name="classicscene" href="gamescene">
						<text>Classic</text>
						<properties>
							<property key="mode" value="classicmode" />
						</properties>
					</menulink>
					
					<menulink name="timedscene" href="gamescene">
						<text>Time Challenge</text>
						<properties>
							<property key="mode" value="timedmode"/>
						</properties>
					</menulink>
					
					<menulink name="practicescene" href="gamescene">
						<text>Practice</text>
						<properties>
							<property key="mode" value="practicemode"/>
						</properties>
					</menulink>
					
					<menulink name="multiscene" href="gamescene">
						<text>Multiplayer</text>
						<properties>
							<property key="mode" value="multimode"/>
						</properties>
					</menulink>
					
					<back/>
				</menu>
			</mainmenu>
		</bgbox>
	</modescene>
    <exitscene>
		<bgbox>
			<mainmenu>
            	<titletext height="45"><text>GOODBYE!</text></titletext>
            </mainmenu>
        </bgbox>
    </exitscene>
    <scorescene>
		<bgbox>
			<mainmenu>
            	<titletext><text>Player Highscores!</text></titletext>
            	<multiline name="score"> </multiline>
            	<back/>
            </mainmenu>
        </bgbox>
    </scorescene>
    <savescene>
		<bgbox>
			<mainmenu>
            	<titletext><text>Game Saves!</text></titletext>
                <menu>
                	<menulink name="1" href="askloadscene"> 
                        <properties>
                            <property key="target" value="0" />
                        </properties>
                    </menulink>
                	<menulink name="2" href="askloadscene"> 
                        <properties>
                            <property key="target" value="1" />
                        </properties>
                    </menulink>
                	<menulink name="3" href="askloadscene">
                        <properties>
                            <property key="target" value="2" />
                        </properties>
                    </menulink>
                	<back/>
                </menu>
        	</mainmenu>
        </bgbox>
    </savescene>
    <gamemenuscene>
    	<box>
		<gamemenu>
			<gtitletext><text>Fat x Fast</text></gtitletext>
			
			<autohmenu>
			
				<menulink name="gamemodescene" href="menuscene">
					<text>New Game</text>
					<properties>
						<property key="name" value="gamemodescene" />
						<property key="type" value="gamemenuscene" />
					</properties>
				</menulink>
				
				<menulink name="gamesavescene" href="savescene">
					<text>Game Saves</text>
					<properties>
						<property key="name" value="gamesavescene" />
						<property key="type" value="gamemenuscene" />
					</properties>
				</menulink>
				
				<menulink name="gamescorescene" href="scorescene">
					<text>HighScores</text>
					<properties>
						<property key="name" value="gamescorescene" />
						<property key="type" value="gamemenuscene" />
					</properties>
				</menulink>
				
				<menulink name="gameconfigscene" href="configscene">
					<text>Settings</text>
					<properties>
						<property key="name" value="gameconfigscene"/>
						<property key="type" value="gamemenuscene" />
					</properties>
				</menulink>
				
				<menulink name="introscene" href="introscene">
					<text>Exit Game</text>
				</menulink>
				<back/>
			</autohmenu>
		</gamemenu>
		</box>
    </gamemenuscene>
    <gamemodescene>
    	<box>
    	<gamemenu>
			<gtitletext><text>Select game mode!</text></gtitletext>
			<autohmenu>
				<menulink name="classicscene" href="gamescene">
					<text>Classic</text>
					<properties>
						<property key="mode" value="classicmode" />
					</properties>
				</menulink>
					
				<menulink name="timedscene" href="gamescene">
					<text>Time Challenge</text>
					<properties>
						<property key="mode" value="timedmode"/>
					</properties>
				</menulink>
					
				<menulink name="practicescene" href="gamescene">
					<text>Practice</text>
					<properties>
						<property key="mode" value="practicemode"/>
					</properties>
				</menulink>
					
				<menulink name="multiscene" href="gamescene">
					<text>Multiplayer</text>
					<properties>
						<property key="mode" value="multimode"/>
					</properties>
				</menulink>
					
				<back/>
			</autohmenu>
    	</gamemenu>
    	</box>
    </gamemodescene>
    <gamescorescene>
    	<box>
    	<gamemenu>
            <gtitletext><text>Player Highscores!</text></gtitletext>
            <autohmenu>
            	<multiline name="score"> </multiline>
            	<back/>
            </autohmenu>
    	</gamemenu>
    	</box>
    </gamescorescene>
    <gamesavescene>
    	<box>
    	<gamemenu>
            <gtitletext><text>Game Saves!</text></gtitletext>
               <autohmenu>
                	<menulink name="1" href="askloadscene"> 
                        <properties>
                            <property key="target" value="0" />
                        </properties>
                    </menulink>
                	<menulink name="2" href="askloadscene"> 
                        <properties>
                            <property key="target" value="1" />
                        </properties>
                    </menulink>
                	<menulink name="3" href="askloadscene">
                        <properties>
                            <property key="target" value="2" />
                        </properties>
                    </menulink>
                <back/>
			</autohmenu>
    	</gamemenu>
    	</box>
    </gamesavescene>
    <gameconfigscene>
    	<box>
    	<gamemenu>
    		<gtitletext><text>Settings</text></gtitletext>
    		<autohmenu>
			</autohmenu>
    	</gamemenu>
    	</box>
    </gameconfigscene>
    <gamescene>
    </gamescene>
    <gameendscene>
        <popup>
            <popuptext y="18" />
            <linkbutton name="restartlink" x="20">
            	<text>(R)estart</text>
            </linkbutton>
            <linkbutton name="exitlink" x="220" handler="pop_scene">
            	<text>(Esc)ape</text>
            </linkbutton>
        </popup>
    </gameendscene>
    <askloadscene>
        <popup>
            <popuptext name="saveinfo" y="18">
                <text>Date: </text>
            </popuptext>
            <linkbutton name="loadlink" x="20">
            	<text>(L)oad</text>
            </linkbutton>
            <linkbutton name="savelink" x="220">
            	<text>(S)ave</text>
            </linkbutton>
        </popup>
    </askloadscene>
    <popupscene>
        <popup>
            <popuptext y="18" />
        </popup>
    </popupscene>
    <hotkeyscene>
    	<popup x="450" y="150" width="150">
    		<popuptext handler="change_hotkey" y="18">
    			<text>Set hotkey</text>
    		</popuptext>
    	</popup>
    </hotkeyscene>
    <configscene>
    	<bgbox>
    	<mainmenu>
    		<titletext><text>Settings</text></titletext>
    		<menu>
    			
			</menu>
    	</mainmenu>
    	</bgbox>
    </configscene>
</scenes>
</data>