<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="MessageBox.lua"></Script>
	
	<Frame name="AltoMessageBox" toplevel="true" parent="UIParent" hidden="true">
		<Size x="323" y="100" />
		<Anchors>
			<Anchor point="CENTER" x="0" y="-10" />
		</Anchors>
		<Layers>
			<Layer>
				<FontString parentKey="Text" inherits="GameFontNormalSmall">
					<Size x="300" y="28" />
					<Anchors>
						<Anchor point="TOP" x="10" y="-20" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
		</Backdrop>
		<Frames>
			<Button parentKey="ButtonYes" inherits="UIPanelButtonTemplate" text="YES">
				<Size x="109" y="24" />
				<Anchors>
					<Anchor point="BOTTOMLEFT" x="55" y="18" />
				</Anchors>
				<Scripts>
					<OnClick>
						self:GetParent():Button_OnClick(1)
					</OnClick>
				</Scripts>
			</Button>
			<Button name="ButtonNo" inherits="UIPanelButtonTemplate" text="NO">
				<Size x="109" y="24" />
				<Anchors>
					<Anchor point="LEFT" relativeKey="$parent.ButtonYes" relativePoint="RIGHT" x="0" y="0" />
				</Anchors>
				<Scripts>
					<OnClick>
						self:GetParent():Button_OnClick(nil)
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				Altoholic:BindViewToController(self, "AltoholicUI.MessageBox")
			</OnLoad>
		</Scripts>
	</Frame>
</Ui>
