<!-- myClock v1.8 -->


<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd">
	<Script file="myClockOptionsFrame.lua"/>
	<CheckButton name="myClockOptionsCheckButtonTemplate" inherits="UICheckButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				myClockOptionsCheckButton_OnClick();
			</OnClick>
		</Scripts>
	</CheckButton>
	<Frame name="myClockOptionsFrame" toplevel="true" frameStrata="DIALOG" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
		<Size>
			<AbsDimension x="360" y="216"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<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>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="myClockOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="256" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="MYCLOCK_OPTIONS_TITLE">
					<Anchors>
						<Anchor point="TOP" relativeTo="myClockOptionsFrameHeader">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="myClockOptionsFrameShowClockCheckButton" inherits="myClockOptionsCheckButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="22" y="-44"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="myClockOptionsFrameShowDayNightCheckButton" inherits="myClockOptionsCheckButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="myClockOptionsFrameShowClockCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="125" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="myClockOptionsFrameLockCheckButton" inherits="myClockOptionsCheckButtonTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="myClockOptionsFrameShowClockCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-4"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="myClockOptionsFrameHalfhourOffsetsCheckButton" inherits="myClockOptionsCheckButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="myClockOptionsFrameLockCheckButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="125" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<Frame name="myClockOptionsFrameTimeFormatDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="myClockOptionsFrameLockCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="-16" y="-14"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentLabel" inherits="GameFontNormalSmall" text="MYCLOCK_OPTIONS_TIME_FORMAT">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="21" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="myClockOptionsFrameOffsetDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="myClockOptionsFrameHalfhourOffsetsCheckButton" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="-16" y="-14"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentLabel" inherits="GameFontNormalSmall" text="MYCLOCK_OPTIONS_OFFSET">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="21" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Button name="myClockOptionsFrameDefaults" inherits="UIPanelButtonTemplate" text="DEFAULTS">
				<Size>
					<AbsDimension x="90" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="13" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						myClockOptionsFrame_SetDefaults();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="myClockOptionsFrameOkay" inherits="UIPanelButtonTemplate" text="Okay">
				<Size>
					<AbsDimension x="90" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-12" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("gsTitleOptionOK");
						myClockOptionsFrame:Hide();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				myClockOptionsFrame_OnLoad();
			</OnLoad>
			<OnEvent>
				myClockOptionsFrame_OnEvent();
			</OnEvent>
			<OnShow>
				myClockOptionsFrame_OnShow();
			</OnShow>
			<OnHide>
				myClockOptionsFrame_OnHide();
			</OnHide>
		</Scripts>
	</Frame>
</Ui>
