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

📄 countdoomcontrols.xml

📁 时间太紧了
💻 XML
字号:
<!-- CountDoom v0.46 -->
<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">

	<Button name="CountDoomDragButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="16" y="16"/>
		</Size>
		<Anchors>
			<Anchor point="TOPRIGHT" relativePoint="TOPLEFT"/>
		</Anchors>
		<NormalTexture file="Interface\AddOns\CountDoom\DragTab"/>
        <Layers>
			<Layer level="OVERLAY">
				<FontString name="$parentText" inherits="NumberFontNormalSmall">
					<Anchors>
						<Anchor point="CENTER">
							<Offset><AbsDimension x="0" y="0"/></Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:GetParent():SetMovable(true);
			</OnLoad>
			<OnMouseDown>
				this:GetParent():StartMoving();
			</OnMouseDown>
			<OnMouseUp>
				this:GetParent():StopMovingOrSizing();
			</OnMouseUp>
		</Scripts>
	</Button>

	<Button name="CountDoomActionBarDragButtonTemplate" inherits="CountDoomDragButtonTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				this:GetParent():SetMovable(true);
			</OnLoad>
		</Scripts>
		<Frames>
			<Button name="$parentRotateAttachment">
				<NormalTexture file="Interface\AddOns\CountDoom\RotateButton"/>
				<HighlightTexture file="Interface\AddOns\CountDoom\RotateButtonHighlight"/>
				<Size><AbsDimension x="16" y="16"/></Size>
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM">
						<Offset><AbsDimension x="0" y="-3"/></Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CountDoom.RotateLayout(this:GetParent():GetParent():GetName());
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Button>
</Ui>

⌨️ 快捷键说明

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