<?xml version="1.0" encoding="UTF-8" ?>
<GUI>
	<!--  Fonts declaration (don't remove IDs 0 and 1, they are internally used by the emu) -->
	<Font ID="0">Font.bmf</Font>	<!-- 0 is the default font, used for texts -->
	<Font ID="1">Font2.bmf</Font>	<!-- 1 is the "big" font (used for loading screens) -->

	<!-- Emu BG -->	
	<Background darken="75">background.png</Background>
	
	<!-- text for the onoff type options -->
	<OnOffText on="Enabled" off="Disabled" />
	
	<!-- Font and Color can be changed for all text strings by adding font="x" and color="yyyyyy", where x is
		a font ID previously defined with <Font> and color is the color value in rrggbb hex (ex: ffffff for white)
	-->
	<!-- Main icon bar   -->
	
	<!-- Emu   -->
	<MainBarItem icon="Emulator.png" text="Emulator">
		<MenuItem icon="Load.png" text="Load ROM" type="CustomPanel" action="RomList" flags="FullLeftSlide" />
		<MenuItem icon="Unload.png" text="Unload ROM" type="Action" action="Unload" />
		<MenuItem icon="Reset.png" text="Reset" type="Action" action="Reset" />
		<MenuItem icon="Separator.png" type="Separator" />
		<MenuItem icon="Exit.png" text="Exit" type="Action" action="Exit" />
	</MainBarItem>
	
	<!-- Game   -->
	<MainBarItem icon="Game.png" text="Game" flags="EnableOnlyInGame">
		<MenuItem icon="LoadState.png" text="Load State" type="CustomPanel" action="LoadStateMenu" flags="FullLeftSlide" />
		<MenuItem icon="SaveState.png" text="Save State" type="CustomPanel" action="SaveStateMenu" flags="FullLeftSlide" />
		<MenuItem icon="Controls.png" text="Controls" type="CustomPanel" action="ControlsMenu" flags="FullLeftSlide" />
		<MenuItem icon="Settings.png" text="Settings" type="OptionPanel">
      <Option text="Region" type="SelectionList" action="Machine.Region" machine="cps3">
        <Item value="1">Japan</Item>
        <Item value="2">Asia</Item>
        <Item value="3">Europe</Item>
        <Item value="4">USA</Item>
        <Item value="5">Hispanic</Item>
        <Item value="6">Brazil</Item>
        <Item value="7">Oceania</Item>
      </Option>
      <Option text="Sound Interpolation" type="OnOff" action="Machine.Interpolate" machine="cps3"/>
		</MenuItem>
	</MainBarItem>
	
	<!-- Options   -->
	<MainBarItem icon="Options.png" text="Options">
		<MenuItem icon="Emulator_opts.png" text="Emulator" type="OptionPanel">
      <Option text="Show Framerate" type="OnOff" action="Core.ShowFPS" />
			<Option text="Frameskip" type="SelectionList" action="Core.Frameskip">
				<Item value="-1">Auto</Item>
				<Item value="0">0</Item>
				<Item value="1">1</Item>
				<Item value="2">2</Item>
				<Item value="3">3</Item>
				<Item value="4">4</Item>
				<Item value="5">5</Item>
				<Item value="6">6</Item>
				<Item value="7">7</Item>
				<Item value="8">8</Item>
				<Item value="9">9</Item>
			</Option>
		</MenuItem>
		<MenuItem icon="Video.png" text="Video" type="OptionPanel">
      <Option text="Horizontal Position" type="Number" min="-100" max="100" action="Video.XOffset" />
      <Option text="Vertical Position" type="Number" min="-100" max="100" action="Video.YOffset" />
	  <Option text="Overscan compensation" type="Number" min="0" max="64" action="Video.Overscan" />
	  <!-- <Option text="Keep aspect" type="OnOff" action="Video.FixedAspect" /> Useless now without Widescreen modes -->
	  <Option text="Graphics Filter" type="SelectionList" action="Video.Filter">
			<Item value="0">None</Item>
			<Item value="1">Bilinear</Item>
	  </Option>
      <Option text="Flicker Filter" type="Number" min="0" max="5" action="Video.FlickerFilter" />
		</MenuItem>
		<MenuItem icon="Audio.png" text="Audio" type="OptionPanel">
			<Option text="Enable Audio" type="OnOff" action="Sound.SoundEnable" />
      <Option text="Volume" type="Number" min="1" max="39" action="Sound.Volume" />
		</MenuItem>
	</MainBarItem>
	
	<!-- About   -->
	<MainBarItem icon="About.png" text="About">
		<MenuItem type="EmuVersion" />
		<MenuItem type="Copyright" />
		<MenuItem type="HomePage" />
    <MenuItem type="Static" text="graphics by Wesker" />
	</MainBarItem>

  <!-- GUI Sounds -->
  <Sound action="BGLoop">BGLoop.wav</Sound>
  <Sound action="MainBarLR">MainBarLR.wav</Sound>
  <Sound action="MenuItemUD">MenuItemUD.wav</Sound>
  <Sound action="MenuItemSel">MenuItemSel.wav</Sound>
  <Sound action="MenuItemEnter">MenuItemEnter.wav</Sound>
  <Sound action="MenuItemBack">MenuItemBack.wav</Sound>
  <Sound action="SelectionUD">SelectionUD.wav</Sound>
  <Sound action="SelectionLR">SelectionLR.wav</Sound>
  <Sound action="SelectionClick">SelectionClick.wav</Sound>
</GUI>ck">MenuItemBack.wav</Sound>
  <Sound action="SelectionUD">SelectionUD.wav</Sound>
  <Sound action="SelectionLR">SelectionLR.wav</Sound>
  <Sound action="SelectionClick">SelectionClick.wav</Sound>
</GUI>