<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="Blizzard_MacroUI.lua"/>
	<CheckButton name="MacroButtonTemplate" inherits="PopupButtonTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				self:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnClick>
				MacroButton_OnClick(self, button, down);
			</OnClick>
			<OnDragStart>
				PickupMacro(MacroFrame.macroBase + self:GetID());
			</OnDragStart>
		</Scripts>
	</CheckButton>
	<CheckButton name="MacroPopupButtonTemplate" inherits="SimplePopupButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				MacroPopupButton_OnClick(self, button, down);
			</OnClick>
		</Scripts>
		<NormalTexture name="$parentIcon" nonBlocking="true">
			<Size x="36" y="36"/>
			<Anchors>
				<Anchor point="CENTER" x="0" y="-1"/>
			</Anchors>
		</NormalTexture>
		<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
		<CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/>
	</CheckButton>
	<Frame name="MacroFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true" inherits="ButtonFrameTemplate">
		<Size x="338" y="424"/>
		<Layers>
			<Layer level="OVERLAY" textureSubLevel="-1">
				<Texture name="MacroFramePortrait" file="Interface\MacroFrame\MacroFrame-Icon">
					<Size x="60" y="60"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="-5" y="5"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<FontString inherits="GameFontNormal" text="CREATE_MACROS">
					<Anchors>
						<Anchor point="TOP" relativeTo="MacroFrame" x="0" y="-5"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="MacroHorizontalBarLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
					<Size x="256" y="16"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="2" y="-210"/>
					</Anchors>
					<TexCoords left="0" right="1.0" top="0" bottom="0.25"/>
				</Texture>
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
					<Size x="75" y="16"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="MacroHorizontalBarLeft" relativePoint="RIGHT" x="0" y="0"/>
					</Anchors>
					<TexCoords left="0" right="0.29296875" top="0.25" bottom="0.5"/>
				</Texture>
				<Texture name="MacroFrameSelectedMacroBackground" file="Interface\Buttons\UI-EmptySlot">
					<Size x="64" y="64"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="5" y="-218"/>
					</Anchors>
				</Texture>
				<FontString name="MacroFrameSelectedMacroName" inherits="GameFontNormalLarge" justifyH="LEFT">
					<Size x="256" y="16"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="MacroFrameSelectedMacroBackground" relativePoint="TOPRIGHT" x="-4" y="-10"/>
					</Anchors>
				</FontString>
				<FontString name="MacroFrameEnterMacroText" inherits="GameFontHighlightSmall" text="ENTER_MACRO_LABEL">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="MacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT" x="8" y="3"/>
					</Anchors>
				</FontString>
				<FontString name="MacroFrameCharLimitText" inherits="GameFontHighlightSmall">
					<Size x="0" y="10"/>
					<Anchors>
						<Anchor point="BOTTOM" x="-15" y="30"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="MacroFrameSelectedMacroButton" frameStrata="HIGH" inherits="MacroButtonTemplate" id="0">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroFrameSelectedMacroBackground" x="14" y="-14"/>
				</Anchors>
				<Scripts>
					<OnClick>
						self:SetChecked(nil);
						PickupMacro(MacroFrame.selectedMacro);
					</OnClick>
				</Scripts>
			</CheckButton>
			<ScrollFrame name="MacroButtonScrollFrame" inherits="UIPanelScrollFrameTemplate">
				<Size x="294" y="146"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="12" y="-66"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size x="31" y="102"/>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-2" y="5"/>
							</Anchors>
							<TexCoords left="0" right="0.484375" top="0" bottom="0.4"/>
						</Texture>
						<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size x="31" y="106"/>
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-2" y="-2"/>
							</Anchors>
							<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
						</Texture>
						<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size x="31" y="1"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/>
								<Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"/>
							</Anchors>
							<TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad function="ScrollFrame_OnLoad"/>
				</Scripts>
				<ScrollChild>
					<Frame name="MacroButtonContainer">
						<Size x="285" y="10"/>
						<Anchors>
							<Anchor point="TOPLEFT"/>
						</Anchors>
						<Scripts>
							<OnLoad function="MacroButtonContainer_OnLoad"/>
						</Scripts>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
			<Button name="MacroEditButton" frameStrata="HIGH" inherits="UIPanelButtonTemplate" text="CHANGE_MACRO_NAME_ICON">
				<Size x="170" y="22"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroFrameSelectedMacroBackground" x="55" y="-30"/>
				</Anchors>
				<Scripts>
					<OnClick function="MacroEditButton_OnClick"/>
				</Scripts>
			</Button>
			<ScrollFrame name="MacroFrameScrollFrame" inherits="UIPanelScrollFrameTemplate">
				<Size x="286" y="85"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT" x="11" y="-13"/>
				</Anchors>
				<ScrollChild>
					<EditBox name="MacroFrameText" multiLine="true" letters="255" autoFocus="false" countInvisibleLetters="true">
						<Size x="286" y="85"/>
						<Scripts>
							<OnTextChanged>
								MacroFrame.textChanged = 1;
								if ( MacroPopupFrame.mode == "new" ) then
									MacroPopupFrame:Hide();
								end
								MacroFrameCharLimitText:SetFormattedText(MACROFRAME_CHAR_LIMIT, MacroFrameText:GetNumLetters());

								ScrollingEdit_OnTextChanged(self, self:GetParent());
							</OnTextChanged>
							<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
							<OnUpdate>
								ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
							</OnUpdate>
							<OnEscapePressed function="EditBox_ClearFocus"/>
						</Scripts>
						<FontString inherits="GameFontHighlightSmall"/>
					</EditBox>
				</ScrollChild>
			</ScrollFrame>
			<Button name="MacroFrameTextButton">
				<Size x="286" y="85"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroFrameText"/>
				</Anchors>
				<Scripts>
					<OnClick>
						MacroFrameText:SetFocus();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="MacroCancelButton" frameStrata="HIGH" inherits="UIPanelButtonTemplate" text="CANCEL">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="MacroFrameScrollFrame" relativePoint="TOPRIGHT" x="25" y="10"/>
				</Anchors>
				<Scripts>
					<OnClick function="MacroFrameCancelButton_OnClick"/>
				</Scripts>
			</Button>
			<Button name="MacroSaveButton" frameStrata="HIGH" inherits="UIPanelButtonTemplate" text="SAVE">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOM" relativeTo="MacroCancelButton" relativePoint="TOP" x="0" y="15"/>
				</Anchors>
				<Scripts>
					<OnClick function="MacroFrameSaveButton_OnClick"/>
				</Scripts>
			</Button>
			<Frame name="MacroFrameTextBackground">
				<Size x="322" y="95"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroFrame" x="6" y="-289"/>
				</Anchors>
				<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Scripts>
					<OnLoad>
						self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
						self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
					</OnLoad>
				</Scripts>
			</Frame>
			<Button name="MacroFrameTab1" inherits="TabButtonTemplate" text="GENERAL_MACROS" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" x="51" y="-28"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						PanelTemplates_TabResize(self, -15);
						_G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 31);
					</OnLoad>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						PanelTemplates_SetTab(MacroFrame, self:GetID());
						MacroFrame_SaveMacro();
						MacroFrame_SetAccountMacros();
						MacroFrame_Update();
						MacroButtonScrollFrame:SetVerticalScroll(0);
					</OnClick>
				</Scripts>
			</Button>
			<Button name="MacroFrameTab2" inherits="TabButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroFrameTab1" relativePoint="RIGHT" x="0" y="0"/>
				</Anchors>
				<Scripts>
					<OnEnter>
						if ( self:GetFontString():IsTruncated() ) then
							GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
							GameTooltip:SetText(string.format(CHARACTER_SPECIFIC_MACROS, UnitName("player")), 1.0,1.0,1.0 );
						end
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
					<OnLoad>
						self:SetFormattedText(CHARACTER_SPECIFIC_MACROS, UnitName("player"));
						_G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 31);
						PanelTemplates_TabResize(self, -15, nil, nil, 150);
					</OnLoad>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						PanelTemplates_SetTab(MacroFrame, self:GetID());
						MacroFrame_SaveMacro();
						MacroFrame_SetCharacterMacros();
						MacroFrame_Update();
						MacroButtonScrollFrame:SetVerticalScroll(0);
					</OnClick>
				</Scripts>
			</Button>
			<Button name="MacroDeleteButton" inherits="UIPanelButtonTemplate" text="DELETE">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="MacroFrame" x="4" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						MacroFrame_DeleteMacro();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="MacroNewButton" inherits="UIPanelButtonTemplate" text="NEW">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" x="-82" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="MacroNewButton_OnClick"/>
				</Scripts>
			</Button>
			<Button name="MacroExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" x="-5" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="HideParentPanel"/>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad function="MacroFrame_OnLoad"/>
			<OnShow function="MacroFrame_OnShow"/>
			<OnHide function="MacroFrame_OnHide"/>
		</Scripts>
	</Frame>
	<Frame name="MacroPopupFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
		<Size x="297" y="298"/>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="MacroFrame" relativePoint="TOPRIGHT" x="0" y="0"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
					<Size x="64" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="256" y="0"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\MacroFrame\MacroPopup-BotLeft">
					<Size x="256" y="64"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="-256"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\MacroFrame\MacroPopup-BotRight">
					<Size x="64" y="64"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="256" y="-256"/>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_TEXT">
					<Anchors>
						<Anchor point="TOPLEFT" x="24" y="-21"/>
					</Anchors>
				</FontString>
				<FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_CHOOSE_ICON">
					<Anchors>
						<Anchor point="TOPLEFT" x="24" y="-69"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<EditBox name="MacroPopupEditBox" letters="16" historyLines="0">
				<Size x="182" y="20"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="29" y="-35"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="MacroPopupNameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="12" y="29"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="-11" y="0"/>
							</Anchors>
							<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="MacroPopupNameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="175" y="29"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="MacroPopupNameLeft" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="MacroPopupNameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="12" y="29"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="MacroPopupNameMiddle" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnTextChanged>
						local text = self:GetText();
						text = string.gsub(text, "\"", "");
						MacroPopupOkayButton_Update();
						MacroFrameSelectedMacroName:SetText(text);
					</OnTextChanged>
					<OnEscapePressed function="MacroPopupFrame_CancelEdit"/>
					<OnEnterPressed>
						if ( MacroPopupOkayButton:IsEnabled() ) then
							MacroPopupOkayButton_OnClick(MacroPopupOkayButton);
						end
					</OnEnterPressed>
				</Scripts>
				<FontString inherits="ChatFontNormal"/>
			</EditBox>
			<ScrollFrame name="MacroPopupScrollFrame" inherits="ListScrollFrameTemplate">
				<Size x="296" y="195"/>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="MacroPopupFrame" relativePoint="TOPRIGHT" x="-39" y="-67"/>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, MACRO_ICON_ROW_HEIGHT, MacroPopupFrame_Update);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<CheckButton name="MacroPopupButton1" inherits="MacroPopupButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" x="24" y="-85"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton2" inherits="MacroPopupButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton1" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton3" inherits="MacroPopupButtonTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton2" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton4" inherits="MacroPopupButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton3" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton5" inherits="MacroPopupButtonTemplate" id="5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton4" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton6" inherits="MacroPopupButtonTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroPopupButton1" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton7" inherits="MacroPopupButtonTemplate" id="7">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton6" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton8" inherits="MacroPopupButtonTemplate" id="8">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton7" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton9" inherits="MacroPopupButtonTemplate" id="9">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton8" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton10" inherits="MacroPopupButtonTemplate" id="10">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton9" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton11" inherits="MacroPopupButtonTemplate" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroPopupButton6" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton12" inherits="MacroPopupButtonTemplate" id="12">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton11" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton13" inherits="MacroPopupButtonTemplate" id="13">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton12" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton14" inherits="MacroPopupButtonTemplate" id="14">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton13" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton15" inherits="MacroPopupButtonTemplate" id="15">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton14" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton16" inherits="MacroPopupButtonTemplate" id="16">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="MacroPopupButton11" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton17" inherits="MacroPopupButtonTemplate" id="17">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton16" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton18" inherits="MacroPopupButtonTemplate" id="18">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton17" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton19" inherits="MacroPopupButtonTemplate" id="19">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton18" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="MacroPopupButton20" inherits="MacroPopupButtonTemplate" id="20">
				<Anchors>
					<Anchor point="LEFT" relativeTo="MacroPopupButton19" relativePoint="RIGHT" x="10" y="0"/>

				</Anchors>
			</CheckButton>
			<Button name="MacroPopupCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
				<Size x="78" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="MacroPopupFrame" x="-11" y="13"/>
				</Anchors>
				<Scripts>
					<OnClick>
						MacroPopupFrame_CancelEdit();
						PlaySound("gsTitleOptionOK");
					</OnClick>
				</Scripts>
			</Button>
			<Button name="MacroPopupOkayButton" inherits="UIPanelButtonTemplate" text="OKAY">
				<Size x="78" y="22"/>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="MacroPopupCancelButton" relativePoint="LEFT" x="-2" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						MacroPopupOkayButton_OnClick();
						PlaySound("gsTitleOptionOK");
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnShow function="MacroPopupFrame_OnShow"/>
			<OnHide function="MacroPopupFrame_OnHide"/>
		</Scripts>
	</Frame>
</Ui>