<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Script file="Libs\Ace3\LibStub\LibStub.lua" />
	<Include file="Libs\Ace3\AceLocale-3.0\AceLocale-3.0.xml" />
	<Script file="Libs\EZBlizzardUiPopups\EZBlizzardUiPopups.lua" />
	<Include file="Libs\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.xml" />
	<Include file="Libs\Ace3\AceAddon-3.0\AceAddon-3.0.xml" />
	<Include file="Libs\Ace3\AceConsole-3.0\AceConsole-3.0.xml" />
	<Include file="Libs\Ace3\AceEvent-3.0\AceEvent-3.0.xml" />
	<Include file="Libs\Ace3\AceGUI-3.0\AceGUI-3.0.xml" />
	<Include file="Libs\Ace3\AceDB-3.0\AceDB-3.0.xml" />
	<Include file="Libs\Ace3\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.xml" />
	<Include file="Libs\Ace3\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.xml" />
	<Include file="Libs\Ace3\AceComm-3.0\AceComm-3.0.xml" />
	<Include file="Libs\Ace3\AceSerializer-3.0\AceSerializer-3.0.xml" />
	<Include file="Libs\LibUIDropDownMenu\LibUIDropDownMenu.xml" />
	<Script file="Libs\UTF8\utf8data.lua" />
	<Script file="Libs\UTF8\utf8.lua" />
	<Script file="Libs\LibDataBroker-1.1\LibDataBroker-1.1.lua" />
	<Script file="Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua" />
	<Script file="localization\localization.lua" />
	<Script file="localization\localization_frFR.lua" />
	<Script file="Variables.lua" />
	<Script file="CustomAchiever.lua" />
	<Script file="CustomAchieverBusiness.lua" />
	<Script file="CustomAchieverMinimap.lua" />
	<Script file="CustomAchieverOptions.lua" />
	<Include file="CustomAchieverTab.xml" />
	<Include file="CustomAchieverHelpTip.xml" />
	<Script file="Sharing.lua" />
	<Script file="embed.lua" />
	<Frame name="CustomAchieverFrameTemplate" enableMouse="true" clampedToScreen="true" inherits="ButtonFrameTemplate" virtual="true" hidden="true" toplevel="true" movable="true" resizable="true" frameStrata="MEDIUM">
		<Size x="380" y="315" />
		<Anchors>
			<Anchor point="CENTER" x="0" y="0" />
		</Anchors>
		<Frames>
			<Button parentKey="RefreshButton" inherits="RefreshButtonTemplate">
				<Anchors>
					<Anchor point="TOPRIGHT" x="-10" y="-28" />
				</Anchors>
				<Scripts>
					<OnClick function="CustomAchieverFrameRewardRefreshButton_OnClick"/>
					<OnEnter function="CustomAchieverButtonEnter"/>
					<OnLeave function="CustomAchieverButtonLeave"/>
				</Scripts>
			</Button>
			<Frame parentKey="AchievementAlertFrame" name="$parentAchievementAlertFrame">
				<Size x="310" y="90" />
				<Anchors>
					<Anchor point="TOP" x="0" y="-100"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="Background" file="Interface\AchievementFrame\UI-Achievement-Alert-Background">
							<Anchors>
								<Anchor point="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
							<TexCoords left="0" right=".605" top="0" bottom=".703"/>
						</Texture>
						<FontString parentKey="Unlocked" inherits="GameFontBlackTiny" text="ACHIEVEMENT_UNLOCKED">
							<Size x="200" y="12"/>
							<Anchors>
								<Anchor point="TOP" x="7" y="-23"/>
							</Anchors>
						</FontString>
						<FontString parentKey="Name" inherits="GameFontHighlight">
							<Anchors>
								<Anchor point="BOTTOMLEFT" x="72" y="36"/>
								<Anchor point="BOTTOMRIGHT" x="-60" y="36"/>
							</Anchors>
							<Size x="240" y="16"/>
						</FontString>
						<FontString parentKey="GuildName" inherits="GameFontNormal">
							<Anchors>
								<Anchor point="TOPLEFT" x="50" y="-10"/>
								<Anchor point="TOPRIGHT" x="-50" y="-10"/>
							</Anchors>
							<Size x="0" y="16"/>
						</FontString>
					</Layer>
					<Layer level="BACKGROUND" textureSubLevel="1">
						<Texture parentKey="GuildBanner" file="Interface\AchievementFrame\UI-Achievement-Guild">
							<Size x="64" y="64"/>
							<Anchors>
								<Anchor point="TOPRIGHT" x="-13" y="-29"/>
							</Anchors>
							<TexCoords left="0.76171875" right="0.88671875" top="0.00195313" bottom="0.12695313"/>
						</Texture>
						<Texture parentKey="OldAchievement" file="Interface\AchievementFrame\UI-Achievement-Borders" hidden="true">
							<Size x="193" y="19"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="93" y="-34"/>
							</Anchors>
							<TexCoords left="0.185546875" right="0.623046875" top="0.65625" bottom="0.734375"/>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<Texture parentKey="GuildBorder" file="Interface\AchievementFrame\UI-Achievement-Guild">
							<Size x="64" y="64"/>
							<Anchors>
								<Anchor point="TOPRIGHT" x="-13" y="-29"/>
							</Anchors>
							<TexCoords left="0.63281250" right="0.75781250" top="0.00195313" bottom="0.12695313"/>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button parentKey="ButtonIcon">
						<Anchors>
							<Anchor point="TOPLEFT" y="-10"/>
							<Anchor point="BOTTOMLEFT" y="10"/>
						</Anchors>
						<Size x="64"/>
						<Scripts>
							<OnClick>
								showIconSelector()
							</OnClick>
							<OnEnter>
								CustomAchieverFrameAchievementAlertFrame.Icon.SelectedTexture:Show()
								CustomAchieverFrameAchievementAlertFrame.Name:SetTextColor(1.0, 0.82, 0.0, 1.0)
							</OnEnter>
							<OnLeave>
								CustomAchieverFrameAchievementAlertFrame.Icon.SelectedTexture:Hide()
								CustomAchieverFrameAchievementAlertFrame.Name:SetTextColor(1.0, 1.0, 1.0, 1.0)
							</OnLeave>
						</Scripts>
					</Button>
					<Button parentKey="ButtonName">
						<Anchors>
							<Anchor point="TOPLEFT" relativeKey="$parent.ButtonIcon" relativePoint="TOPRIGHT"/>
							<Anchor point="BOTTOMLEFT" relativeKey="$parent.ButtonIcon" relativePoint="BOTTOMRIGHT"/>
						</Anchors>
						<Size x="194"/>
						<Scripts>
							<OnClick>
								showIconSelector()
							</OnClick>
							<OnEnter>
								CustomAchieverFrameAchievementAlertFrame.Icon.SelectedTexture:Show()
								CustomAchieverFrameAchievementAlertFrame.Name:SetTextColor(1.0, 0.82, 0.0, 1.0)
							</OnEnter>
							<OnLeave>
								CustomAchieverFrameAchievementAlertFrame.Icon.SelectedTexture:Hide()
								CustomAchieverFrameAchievementAlertFrame.Name:SetTextColor(1.0, 1.0, 1.0, 1.0)
							</OnLeave>
						</Scripts>
					</Button>
					<Button parentKey="ButtonShield">
						<Anchors>
							<Anchor point="TOPLEFT" relativeKey="$parent.ButtonName" relativePoint="TOPRIGHT"/>
							<Anchor point="BOTTOMLEFT" relativeKey="$parent.ButtonName" relativePoint="BOTTOMRIGHT"/>
						</Anchors>
						<Size x="48"/>
						<Scripts>
							<OnClick>
								showIconSelector()
							</OnClick>
						</Scripts>
					</Button>
					<Frame parentKey="Icon">
						<Size x="124" y="124"/>
						<Anchors>
							<Anchor point="TOPLEFT" x="-26" y="16"/>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<Texture parentKey="SelectedTexture" alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight" hidden="true">
									<Anchors>
										<Anchor point="CENTER" x="-1" y="1"/>
									</Anchors>
									<Size x="50" y="50"/>
								</Texture>
							</Layer>
							<Layer level="BORDER">
								<Texture parentKey="Bling" file="Interface\AchievementFrame\UI-Achievement-Bling">
									<Anchors>
										<Anchor point="CENTER" x="-1" y="1"/>
									</Anchors>
									<Size x="116" y="116"/>
								</Texture>
							</Layer>
							<Layer level="ARTWORK">
								<Texture parentKey="Texture">
									<Anchors>
										<Anchor point="CENTER" x="0" y="3"/>
									</Anchors>
									<Size x="50" y="50"/>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture parentKey="Overlay" file="Interface\AchievementFrame\UI-Achievement-IconFrame">
									<Anchors>
										<Anchor point="CENTER" x="-1" y="2"/>
									</Anchors>
									<Size x="72" y="72"/>
									<TexCoords left="0" right="0.5625" top="0" bottom="0.5625"/>
								</Texture>
							</Layer>
						</Layers>
					</Frame>
					<Frame parentKey="Shield">
						<Size x="64" y="64"/>
						<Anchors>
							<Anchor point="TOPRIGHT" x="-10" y="-13"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture parentKey="Icon" file="Interface\AchievementFrame\UI-Achievement-Shields">
									<Size x="52" y="48"/>
									<Anchors>
										<Anchor point="TOPRIGHT" x="1" y="-6"/>
									</Anchors>
									<TexCoords left="0" right=".5" top="0" bottom=".45"/>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<FontString parentKey="Points" inherits="GameFontNormal">
									<Anchors>
										<Anchor point="CENTER" x="7" y="2"/>
									</Anchors>
									<Size x="64" y="64"/>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
				</Frames>
			</Frame>
			<EditBox parentKey="IconEditBox" inherits="InputBoxTemplate" letters="9" numeric="true">
				<Scripts>
					<OnTextChanged function="CustomAchieverFrameEditBox_OnTextChanged"/>
					<OnEscapePressed function="HideParentPanel"/>
				</Scripts>
			</EditBox>
			<EditBox parentKey="PointsEditBox" inherits="InputBoxTemplate" letters="2" numeric="true">
				<Scripts>
					<OnTextChanged function="CustomAchieverFrameEditBox_OnTextChanged"/>
					<OnEscapePressed function="HideParentPanel"/>
				</Scripts>
			</EditBox>
			<EditBox parentKey="DescriptionEditBox" inherits="InputBoxTemplate" letters="200">
				<Scripts>
					<OnTextChanged function="CustomAchieverFrameDescriptionEditBox_OnTextChanged"/>
					<OnEscapePressed function="HideParentPanel"/>
				</Scripts>
			</EditBox>
			<EditBox parentKey="RewardEditBox" inherits="InputBoxTemplate" letters="100">
				<Scripts>
					<OnTextChanged function="CustomAchieverFrameRewardEditBox_OnTextChanged"/>
					<OnEscapePressed function="HideParentPanel"/>
				</Scripts>
			</EditBox>
			<CheckButton parentKey="TitleCheckButton">
				<Size x="20" y="20"/>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="$parentText" inherits="GameFontHighlightSmall" parentKey="text" text="HONOR_REWARD_TITLE_TOOLTIP">
							<Anchors>
								<Anchor point="LEFT" relativePoint="RIGHT" x="1" y="1"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick function="CustomAchieverFrameRewardCheckButton_OnClick"/>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
				<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
			</CheckButton>
			<Button parentKey="DeleteButton" inherits="UIPanelButtonTemplate" motionScriptsWhileDisabled="true" text="DELETE">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" x="4" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="CustAc_DeleteButton_OnClick"/>
				</Scripts>
			</Button>
			<Button name="$parentAwardButton" parentKey="AwardButton" inherits="UIPanelButtonTemplate" motionScriptsWhileDisabled="true">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" x="111" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="CustAc_AwardButton_OnClick"/>
				</Scripts>
			</Button>
			<Button parentKey="SaveButton" inherits="UIPanelButtonTemplate" motionScriptsWhileDisabled="true" text="HUD_EDIT_MODE_SAVE_LAYOUT">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" x="-82" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="CustAc_SaveButton_OnClick"/>
				</Scripts>
			</Button>
			<Button parentKey="ExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
				<Size x="80" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" x="-5" y="4"/>
				</Anchors>
				<Scripts>
					<OnClick function="HideParentPanel"/>
				</Scripts>
			</Button>
			<Frame parentKey="DetailsPanel" frameLevel="501" hidden="true">
				<Size x="183" y="253"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-4" y="-29"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="BlackBackground">
							<Anchors>
								<Anchor point="TOPLEFT" x="5" y="-12"/>
								<Anchor point="BOTTOMRIGHT" x="-2" y="4"/>
							</Anchors>
							<Color color="BLACK_FONT_COLOR"/>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<Texture parentKey="ClassBackground">
							<Anchors>
								<Anchor point="TOPLEFT" relativeKey="$parentKey.BlackBackground"/>
								<Anchor point="BOTTOMRIGHT" relativeKey="$parentKey.BlackBackground"/>
							</Anchors>
							<TexCoords left="0.1599099099099099" right="0.8378378378378378" top="0" bottom="0.9612068965517241"/>
						</Texture>
					</Layer>
					<Layer level="OVERLAY">
						<Texture atlas="dressingroom-sideframe" setAllPoints="true"/>
					</Layer>
				</Layers>
				<Frames>
					<Frame parentKey="Details" setAllPoints="true">
						<Frames>
							<ScrollFrame parentKey="ScrollFrame" inherits="UIPanelScrollFrameTemplate" >
								<Anchors>
									<Anchor point="TOPLEFT" x="10" y="-14"/>
									<Anchor point="BOTTOMRIGHT" x="-26" y="6"/>
								</Anchors>
								<ScrollChild>
									<EditBox parentKey="Text" name="CustomAchieverLogs" multiLine="true" letters="4000" autoFocus="false">
										<Size x="150" y="194"/>
										<Scripts>
											<OnLoad function="ScrollingEdit_OnLoad"/>
											<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
											<OnUpdate>
												ScrollingEdit_OnUpdate(self, elapsed, self:GetParent())
											</OnUpdate>
											<OnEditFocusGained>
												self:HighlightText(0)
											</OnEditFocusGained>
											<OnEscapePressed function="EditBox_ClearFocus"/>
										</Scripts>
										<FontString inherits="GameFontWhiteTiny"/>
									</EditBox>
								</ScrollChild>
							</ScrollFrame>
						</Frames>
					</Frame>
				</Frames>
				<Scripts>
					<OnLoad/>
					<OnShow/>
					<OnHide/>
					<OnEvent/>
					<OnKeyDown/>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad function="CustomAchieverFrame_OnLoad"/>
			<OnDragStart>
				self.moving = true
				self:StartMoving()
			</OnDragStart>
			<OnDragStop>
				self.moving = false
				self:StopMovingOrSizing()
				customAchieverSaveWindowPosition()
			</OnDragStop>
			<OnEvent function="CustomAchieverFrame_OnEvent" />
			<OnShow>
				Custac_ChangeAwardButtonText(true)
				self:RegisterEvent("PLAYER_TARGET_CHANGED")
			</OnShow>
			<OnHide>
				self:UnregisterEvent("PLAYER_TARGET_CHANGED")
			</OnHide>
		</Scripts>
	</Frame>
	<Frame name="CustAc_IconsPopupFrameTemplate" virtual="true" clampedToScreen="true" mixin="MacroPopupFrameMixin" inherits="IconSelectorPopupFrameTemplate" toplevel="true" frameStrata="HIGH" movable="true" enableMouse="true" hidden="true">
		<KeyValues>
			<KeyValue key="editBoxHeaderText" value="NAME" type="global"/>
		</KeyValues>
		<Scripts>
			<OnHide function="CustAc_IconsPopupFrame_OnHide"/>
			<OnShow function="CustAc_IconsPopupFrame_OnShow"/>
		</Scripts>
	</Frame>
	<Button name="CustomAchieverOptionsButtonTemplate" frameStrata="HIGH" virtual="true">
		<Size x="16" y="16" />
		<Scripts>
			<OnClick function="CustomAchiever_OpenOptions"/>
			<OnEnter function="CustomAchieverButtonEnter"/>
			<OnLeave function="CustomAchieverButtonLeave"/>
		</Scripts>
	</Button>
	<Button name="CustomAchieverLogsButtonTemplate" frameStrata="HIGH" virtual="true">
		<Size x="16" y="16" />
		<Scripts>
			<OnClick function="CustomAchieverLogsButton_OnClick"/>
			<OnEnter function="CustomAchieverButtonEnter"/>
			<OnLeave function="CustomAchieverButtonLeave"/>
		</Scripts>
	</Button>
	<Frame name="CustacCategoryCreateDialog" parent="UIParent" hidden="true" frameStrata="DIALOG" frameLevel="100">
		<KeyValues>
			<KeyValue key="titleText" value="CATEGORY" type="global"/>
		</KeyValues>
		<Size x="460" y="190"/>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<FontString parentKey="Title" inherits="GameFontHighlight">
					<Size x="250"/>
					<Anchors>
						<Anchor point="TOP" y="-20"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame parentKey="Border" inherits="DialogBorderDarkTemplate"/>
			<Frame parentKey="ContentArea">
				<Anchors>
					<Anchor point="TOPLEFT" x="40" y="-40"/>
					<Anchor point="BOTTOMRIGHT" x="-40" y="25"/>
				</Anchors>
			</Frame>
			
			<Frame parentKey="NameControl" name="NameControl">
				<KeyValues>
					<KeyValue key="labelText" value="NAME" type="global"/>
				</KeyValues>
				<Size x="260" y="50"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.ContentArea"/>
					<Anchor point="RIGHT" relativeKey="$parent.ContentArea"/>
				</Anchors>

				<Layers>
					<Layer level="ARTWORK">
						<FontString parentKey="Label" inherits="GameFontNormal">
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<EditBox parentKey="EditBox" inherits="InputBoxTemplate" letters="30">
						<Size x="260" y="32"/>
						<FontString inherits="ChatFontNormal"/>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Label" y="10"/>
							<Anchor point="RIGHT"/>
							<Anchor point="BOTTOM"/>
						</Anchors>
						<Scripts>
							<OnEscapePressed>
								StaticPopupSpecial_Hide(CustacCategoryCreateDialog)
							</OnEscapePressed>
						</Scripts>
					</EditBox>
					<Frame parentKey="MoveAchievement">
						<Size y="20"/>
						<Anchors>
							<Anchor point="TOP" relativeKey="$parent.ContentArea" y="-50"/>
							<Anchor point="LEFT" relativeKey="$parent.ContentArea" x="20"/>
							<Anchor point="RIGHT" relativeKey="$parent.ContentArea" x="0"/>
						</Anchors>
						<Frames>
							<CheckButton parentKey="CheckButton">
								<Size x="20" y="20"/>
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
								<NormalTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<PushedTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<CheckedTexture atlas="checkmark-minimal" useAtlasSize="true"/>
								<DisabledCheckedTexture atlas="checkmark-minimal-disabled" useAtlasSize="true"/>
							</CheckButton>
						</Frames>
						<Layers>
							<Layer level="ARTWORK">
								<FontString parentKey="Label" inherits="GameFontNormal">
									<Anchors>
										<Anchor point="LEFT" relativeKey="$parent.CheckButton" relativePoint="RIGHT" x="10" y="0"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad function="CustAc_MoveAchievement_OnLoad"/>
						</Scripts>
					</Frame>
					<Frame parentKey="MoveCategory">
						<Size y="20"/>
						<Anchors>
							<Anchor point="TOP" relativeKey="$parent.ContentArea" y="-70"/>
							<Anchor point="LEFT" relativeKey="$parent.ContentArea" x="20"/>
							<Anchor point="RIGHT" relativeKey="$parent.ContentArea" x="0"/>
						</Anchors>
						<Frames>
							<CheckButton parentKey="CheckButton">
								<Size x="20" y="20"/>
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
								<NormalTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<PushedTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<CheckedTexture atlas="checkmark-minimal" useAtlasSize="true"/>
								<DisabledCheckedTexture atlas="checkmark-minimal-disabled" useAtlasSize="true"/>
							</CheckButton>
						</Frames>
						<Layers>
							<Layer level="ARTWORK">
								<FontString parentKey="Label" inherits="GameFontNormal">
									<Anchors>
										<Anchor point="LEFT" relativeKey="$parent.CheckButton" relativePoint="RIGHT" x="10" y="0"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad function="CustAc_MoveCategory_OnLoad"/>
						</Scripts>
					</Frame>
					<Frame parentKey="ExtractCategory">
						<Size y="20"/>
						<Anchors>
							<Anchor point="TOP" relativeKey="$parent.ContentArea" y="-70"/>
							<Anchor point="LEFT" relativeKey="$parent.ContentArea" x="20"/>
							<Anchor point="RIGHT" relativeKey="$parent.ContentArea" x="0"/>
						</Anchors>
						<Frames>
							<CheckButton parentKey="CheckButton">
								<Size x="20" y="20"/>
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
								<NormalTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<PushedTexture atlas="checkbox-minimal" useAtlasSize="true"/>
								<CheckedTexture atlas="checkmark-minimal" useAtlasSize="true"/>
								<DisabledCheckedTexture atlas="checkmark-minimal-disabled" useAtlasSize="true"/>
							</CheckButton>
						</Frames>
						<Layers>
							<Layer level="ARTWORK">
								<FontString parentKey="Label" inherits="GameFontNormal">
									<Anchors>
										<Anchor point="LEFT" relativeKey="$parent.CheckButton" relativePoint="RIGHT" x="10" y="0"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad function="CustAc_ExtractCategory_OnLoad"/>
						</Scripts>
					</Frame>
				</Frames>
				<Scripts>
					<OnLoad>
						self.Label:SetText(self.labelText);
					</OnLoad>
				</Scripts>
			</Frame>

			<Button parentKey="AcceptButton" inherits="UIPanelButtonTemplate, UIButtonTemplate" text="SAVE">
				<Size x="120" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeKey="$parent.ContentArea"/>
				</Anchors>
				<Scripts>
					<OnClick function="CustacCategoryCreateDialogAcceptButton_OnClick" />
				</Scripts>
			</Button>
			<Button parentKey="DeleteButton" inherits="UIPanelButtonTemplate, UIButtonTemplate" text="DELETE">
				<Size x="120" y="22"/>
				<Anchors>
					<Anchor point="BOTTOM" relativeKey="$parent.ContentArea"/>
				</Anchors>
				<Scripts>
					<OnClick>
						local categoryId = self:GetParent():GetAttribute("categoryId")
						local categoryName = CustAc_getLocaleData(CustomAchieverData["Categories"][categoryId], "name")
						self:GetParent().NameControl.EditBox:SetText(categoryName)
						CustAc_DeleteCategoryButton_OnClick(categoryId, categoryName)
					</OnClick>
				</Scripts>
			</Button>
			<Button parentKey="CancelButton" inherits="UIPanelButtonTemplate, UIButtonTemplate" text="CANCEL">
				<Size x="120" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeKey="$parent.ContentArea"/>
				</Anchors>
				<Scripts>
					<OnClick>
						StaticPopupSpecial_Hide(self:GetParent())
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				self.Title:SetText(self.titleText)
			</OnLoad>
			<OnShow function="CustacCategoryCreateDialog_OnShow" />
			<OnHide function="CustacCategoryCreateDialog_OnHide" />
		</Scripts>
	</Frame>
	<GameTooltip name="CustomAchieverTooltip" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="GameTooltipTemplate" />
	<GameTooltip name="CustomAchieverTargetTooltip" frameStrata="LOW" hidden="true" parent="UIParent" inherits="GameTooltipTemplate" />
	<!--Frame name="GreenScreen" hidden="false" parent="UIParent" setAllPoints="true">
		<Layers>
			<Layer>
				<Texture parentKey="Background" setAllPoints="true">
					<Color a="1" r="0" g="1" b="0" />
				</Texture>
			</Layer>
		</Layers>
	</Frame-->
</Ui>
