欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

supermacrooptions.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">
	<Script file="SM_Options.lua"/>
	<CheckButton name="SMOptionsCheckButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" inherits="GameFontBlack">
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="-2" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<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"/>
		<Scripts>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</CheckButton>
	<Frame name="SuperMacroOptionsFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="12" right="40" top="12" bottom="71"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\MacroFrame\MacroFrame-Icon">
					<Size>
						<AbsDimension x="58" y="58"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-8"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture file="Interface\Spellbook\UI-SpellbookPanel-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\Spellbook\UI-SpellbookPanel-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\Spellbook\UI-SpellbookPanel-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\Spellbook\UI-SpellbookPanel-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString name="SuperMacroOptionsTitleText" inherits="GameFontNormal" text="SUPERMACRO_OPTIONS_TITLE">
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="6" y="230"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="SuperMacroOptionsCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="CENTER" relativeTo="SuperMacroOptionsFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-44" y="-25"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="SuperMacroOptionsExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="SuperMacroOptionsFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-80" y="-422"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						HideUIPanel(this:GetParent());
					</OnClick>
				</Scripts>
			</Button>
			<CheckButton name="SuperMacroOptionsFrameCheckButton1" inherits="SMOptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-85"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SM_VARS.hideAction = this:GetChecked() and 1 or 0;
						HideActionText();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SuperMacroOptionsFrameCheckButton2" inherits="SMOptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton1" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SM_VARS.macroTip1 = this:GetChecked() and 1 or 0;
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SuperMacroOptionsFrameCheckButton3" inherits="SMOptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton2" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SM_VARS.macroTip2 = this:GetChecked() and 1 or 0;
						GameTooltipTextLeft2:SetText('');
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SuperMacroOptionsFrameCheckButton4" inherits="SMOptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton3" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SM_VARS.minimap = this:GetChecked() and 1 or 0;
						ToggleSMMinimap();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="SuperMacroOptionsFrameCheckButton5" inherits="SMOptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton4" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SM_VARS.replaceIcon = this:GetChecked() and 1 or 0;
					</OnClick>
				</Scripts>
			</CheckButton>
			<Button name="$parentColorSwatch1">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton5" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentSwatchBg">
							<Size>
								<AbsDimension x="32" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="$parentText" inherits="GameFontBlack">
							<Anchors>
								<Anchor point="LEFT" relativePoint="RIGHT">
									<Offset>
								<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="$parentExampleText" inherits="GameFontBlack">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentText" relativePoint="BOTTOMLEFT">
									<Offset>
								<AbsDimension x="0" y="-10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						SuperMacroOptionsFrameColorSwatch_OnLoad();
					</OnLoad>
					<OnClick>
						CloseMenus();
						SuperMacroOptions_OpenColorPicker(this);
					</OnClick>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
			</Button>
		</Frames>
		<Scripts>
			<OnShow>
				SuperMacroOptionsFrame_OnShow();
			</OnShow>
		</Scripts>
	</Frame>
</Ui>

⌨️ 快捷键说明

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