⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atlasoptions.xml

📁 时间太紧了
💻 XML
字号:
<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">
	<Frame name="AtlasOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
		<Size>
			<AbsDimension x="300" y="380"/>
		</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="AtlasOptionsFrameHeader" 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="ATLAS_OPTIONS_TITLE">
					<Anchors>
						<Anchor point="TOP" relativeTo="AtlasOptionsFrameHeader">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="AtlasOptionsFrameToggleButton" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="40" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_SHOWBUT);
					</OnLoad>
					<OnClick>
						AtlasButton_Toggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="AtlasOptionsFrameAutoSelect" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="40" y="-70"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_AUTOSEL);
					</OnLoad>
					<OnClick>
						AtlasOptions_AutoSelectToggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="AtlasOptionsFrameReplaceWorldMap" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="40" y="-100"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_REPMAP);
					</OnLoad>
					<OnClick>
						AtlasOptions_ReplaceWorldMapToggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="AtlasOptionsFrameRightClick" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="40" y="-130"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_RCLICK);
					</OnLoad>
					<OnClick>
						AtlasOptions_RightClickToggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="AtlasOptionsFrameAcronyms" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="40" y="-160"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_ACRONYMS);
					</OnLoad>
					<OnClick>
						AtlasOptions_AcronymsToggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<Slider name="SliderButtonPos" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="220" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-220" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_BUTPOS);
						getglobal(this:GetName().."High"):SetText();
						getglobal(this:GetName().."Low"):SetText();
						SliderButtonPos:SetMinMaxValues(0,360);
						SliderButtonPos:SetValueStep(1);
					</OnLoad>
					<OnValueChanged>
						AtlasOptions.AtlasButtonPosition = SliderButtonPos:GetValue();
						AtlasButton_UpdatePosition();
					</OnValueChanged>
				</Scripts>
			</Slider>
			<Slider name="SliderAlpha" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="220" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-260" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_TRANS);
						getglobal(this:GetName().."High"):SetText();
						getglobal(this:GetName().."Low"):SetText();
						SliderAlpha:SetMinMaxValues(0.25,1.0);
						SliderAlpha:SetValueStep(0.01);
					</OnLoad>
					<OnValueChanged>
						AtlasOptions.AtlasAlpha = SliderAlpha:GetValue();
						Atlas_UpdateAlpha();
					</OnValueChanged>
				</Scripts>
			</Slider>
			<Button name="AtlasOptionsFrameResetPosition" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_RESETPOS">
				<Size>
					<AbsDimension x="165" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="60"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AtlasOptions_ResetPosition();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="AtlasOptionsFrameDone" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_DONE">
				<Anchors>
					<Anchor point="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AtlasOptions_Toggle();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				AtlasOptions_OnLoad();
			</OnLoad>
		</Scripts>
	</Frame>
</Ui>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -