<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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="MyBank_Config.lua"/>
	<Frame name="MyBankConfigFrame" frameStrata="DIALOG" parent="UIParent" toplevel="false" movable="false" enableMouse="true" hidden="true">
		<Size><AbsDimension x="250" y="380"/></Size>
		<Anchors>
			<Anchor point="CENTER" />
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<BackgroundInsets><AbsInset left="5" right="5" top="5" bottom="5"/></BackgroundInsets>
			<TileSize><AbsValue val="16"/></TileSize>
			<EdgeSize><AbsValue val="16"/></EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" text="MYBANK_CONFIG_TITLE">
					<Anchors>
						<Anchor point="TOP">
							<Offset><AbsDimension x="0" y="-10"/></Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="MyBankConfigCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOM" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						HideUIPanel(this:GetParent());
					</OnClick>
				</Scripts>
			</Button>
			<CheckButton name="MyBankConfigReplaceCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="TOPLEFT">
						<Offset><AbsDimension x="10" y="-45"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="MyBankConfigFreezeCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="MyBankConfigReplaceCheck">
						<Offset><AbsDimension x="0" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<EditBox name="MyBankConfigColumns" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
				<Size><AbsDimension x="35" y="25"/></Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MyBankConfigFreezeCheck" relativePoint="BOTTOMLEFT">
						<Offset><AbsDimension x="10" y="-10"/></Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<FontString inherits="GameFontNormalSmall" text="MYBANK_CONFIG_COLUMN">
							<Anchors>
								<Anchor point="LEFT" relativePoint="RIGHT">
									<Offset><AbsDimension x="-5" y="0"/></Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</EditBox>
			<CheckButton name="MyBankConfigHighlightItemsCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="MyBankConfigColumns">
						<Offset><AbsDimension x="-10" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="MyBankConfigHighlightBagsCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="MyBankConfigHighlightItemsCheck">
						<Offset><AbsDimension x="0" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="MyBankConfigGraphicsCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="MyBankConfigHighlightBagsCheck">
						<Offset><AbsDimension x="0" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
			<CheckButton name="MyBankConfigBackgroundCheck" inherits="UICheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="MyBankConfigGraphicsCheck">
						<Offset><AbsDimension x="0" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</CheckButton>
		</Frames>
		<Scripts>
			<OnLoad>
				UIPanelWindows["MyBankConfigFrame"] = {area = "center", pushable = 0};
				MyBankConfigReplaceCheckText:SetText(MYBANK_CONFIG_REPLACE);
				MyBankConfigFreezeCheckText:SetText(MYBANK_CONFIG_FREEZE);
				MyBankConfigHighlightItemsCheckText:SetText(MYBANK_CONFIG_HIGHLIGHTITEMS);
				MyBankConfigHighlightBagsCheckText:SetText(MYBANK_CONFIG_HIGHLIGHTBAGS);
				MyBankConfigGraphicsCheckText:SetText(MYBANK_CONFIG_GRAPHICS);
				MyBankConfigBackgroundCheckText:SetText(MYBANK_CONFIG_BACK);
			</OnLoad>
			<OnShow>
				MyBankConfig_OnShow();
			</OnShow>
			<OnHide>
				MyBankConfig_OnHide();
				if (MYADDONS_ACTIVE_OPTIONSFRAME == this) then
					ShowUIPanel(myAddOnsFrame);
				end
			</OnHide>
		</Scripts>
	</Frame>
</Ui>
