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

📄 ct_raidassist.xml

📁 时间太紧了
💻 XML
📖 第 1 页 / 共 5 页
字号:
<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">
	<Script file="CT_RAClassSpells.lua"/>
	<Script file="CT_RaidAssist.lua"/>
	<Button name="CT_RAGroupMemberBuffButtonTemplate" virtual="true" hidden="false">
		<Size>
			<AbsDimension x="9" y="9"/>
		</Size>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentIcon"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				CT_RA_BuffButton_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
			<OnClick>
				if ( IsShiftKeyDown() ) then
					CT_RA_RecastBuffButton()
				end
			</OnClick>
		</Scripts>
	</Button>
	<Frame name="CT_RAGroupDragTemplate" virtual="true" movable="true" hidden="false">
		<Size>
			<AbsDimension x="100" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT"/>
		</Anchors>
		<Scripts>
			<OnEnter>
				CT_RA_Drag_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
			<OnMouseDown>
				if ( arg1 == "LeftButton" ) then
					if ( IsShiftKeyDown() and strsub(this:GetName(), 1, 7) ~= "CT_RAMT" and strsub(this:GetName(), 1, 7) ~= "CT_RAPT" ) then
						CT_RA_DragAllWindows(1);
						this.dragall = 1;
					end
					this:StartMoving();
				end
			</OnMouseDown>
			<OnMouseUp>
				if ( arg1 == "LeftButton" ) then
					if ( this.dragall ) then
						CT_RA_DragAllWindows(nil);
						this.dragall = nil;
					end
					this:StopMovingOrSizing();
					CT_RAMenu_SaveWindowPositions();
				end
			</OnMouseUp>					
			<OnLoad>
				this.id = this:GetID();
				this.name = this:GetName();
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="CT_RAGroupMemberTemplate" frameStrata="MEDIUM" virtual="true" hidden="false">
		<Size>
			<AbsDimension x="90" y="40"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="UIParent"/>
		</Anchors>
		<Backdrop name="$parentBackdrop" 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>
		<Frames>
			<StatusBar name="$parentHPBar" inherits="TextStatusBar">
				<Size>
					<AbsDimension x="70" y="6"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="10" y="-22"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetMinMaxValues(0, 100);
						this:SetValue(100);
					</OnLoad>
				</Scripts>
				<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="0" g="1" b="0"/>
			</StatusBar>
			<StatusBar name="$parentMPBar" inherits="TextStatusBar">
				<Size>
					<AbsDimension x="70" y="6"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="10" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetMinMaxValues(0, 100);
						this:SetValue(100);
					</OnLoad>
				</Scripts>
				<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="0" g="0" b="1"/>
			</StatusBar>
			<Frame name="$parentCast" setAllPoints="true">
				<Frames>
					<Button name="$parentFrame" hidden="false">
						<Size>
							<AbsDimension x="90" y="40"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT"/>
						</Anchors>
						<Scripts>
							<OnEnter>
								CT_RA_MemberFrame_OnEnter();
							</OnEnter>
							<OnLeave>
								if ( SpellIsTargeting() ) then
									SetCursor("CAST_ERROR_CURSOR");
								end
								CT_RA_CurrentMemberFrame = nil;
								GameTooltip:Hide();
							</OnLeave>
							<OnLoad>
								this.frameParent = this:GetParent():GetParent();
								this.update = 0.1;
								this:RegisterForClicks('LeftButtonDown', 'RightButtonDown', 'MiddleButtonDown', 'Button4Down', 'Button5Down');
							</OnLoad>
							<OnClick>
								CT_RA_MemberFrame_OnClick(arg1);
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame setAllPoints="true">
				<Frames>
					<Frame setAllPoints="true">
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentPercent" hidden="true" inherits="GameFontNormalSmall">
									<Color r="1.0" g="1.0" b="1.0"/>
									<Anchors>
										<Anchor relativePoint="TOPLEFT" point="TOP">
											<Offset>
												<AbsDimension x="47" y="-18"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="$parentBuffButton1" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="1">
								<Anchors>
									<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="-5" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "BUFF";
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentBuffButton2" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="2">
								<Anchors>
									<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentBuffButton1">
										<Offset>
											<AbsDimension x="0" y="1"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "BUFF";
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentBuffButton3" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="3">
								<Anchors>
									<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentBuffButton1">
										<Offset>
											<AbsDimension x="-1" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "BUFF";
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentBuffButton4" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="3">
								<Anchors>
									<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentBuffButton2">
										<Offset>
											<AbsDimension x="-1" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "BUFF";
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentDebuffButton1" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="1">
								<Size>
									<AbsDimension x="16" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="-5" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "DEBUFF";
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentDebuffButton2" inherits="CT_RAGroupMemberBuffButtonTemplate" hidden="true" id="2">
								<Size>
									<AbsDimension x="16" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentDebuffButton1">
										<Offset>
											<AbsDimension x="-1" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.type = "DEBUFF";
									</OnLoad>
								</Scripts>
							</Button>
						</Frames>
					</Frame>
				</Frames>
			</Frame>
		</Frames>
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="$parentName" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontNormalSmall" text="">
					<Size>
						<AbsDimension x="80" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-7"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentStatus" hidden="false" inherits="GameFontNormalSmall" text="">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-18"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="$parentHPBG" file="Interface\TargetingFrame\UI-StatusBar">
					<Size>
						<AbsDimension x="70" y="6"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-22"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentMPBG" file="Interface\TargetingFrame\UI-StatusBar">
					<Size>
						<AbsDimension x="70" y="6"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="10" y="6"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.HPBG = CT_RA_Cache[this].HPBG;
				this.MPBG = CT_RA_Cache[this].MPBG;
				this.Name = CT_RA_Cache[this].Name;
				this.Status = CT_RA_Cache[this].Status;
				this.HPBar = CT_RA_Cache[this].HPBar;
				this.MPBar = CT_RA_Cache[this].MPBar;
				this.Cast = CT_RA_Cache[this].Cast;
				this.CastFrame = CT_RA_Cache[this].CastFrame;
				this.Percent = CT_RA_Cache[this].Percent;
				this.BuffButton1 = CT_RA_Cache[this].BuffButton1;
				this.BuffButton2 = CT_RA_Cache[this].BuffButton2;
				this.BuffButton3 = CT_RA_Cache[this].BuffButton3;
				this.BuffButton4 = CT_RA_Cache[this].BuffButton4;
				this.DebuffButton1 = CT_RA_Cache[this].DebuffButton1;
				this.DebuffButton2 = CT_RA_Cache[this].DebuffButton2;
				
				this.frameParent = this:GetParent();
				this.HPBG:SetVertexColor(0, 1, 0, 0.2);
				this.MPBG:SetVertexColor(0, 0, 1, 0.2);
				this:SetBackdropColor(0, 0.1, 0.9, 0.5);
				this.name = this:GetName();
				this.update = 1;
				this.id = this:GetID();
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="CT_RAMTMemberTemplate" virtual="true" inherits="CT_RAGroupMemberTemplate">
		<Frames>
			<Frame name="$parentMTTT" hidden="false">
				<Scripts>
					<OnLoad>
						this.HPBG = CT_RA_Cache[this].HPBG;
						this.MPBG = CT_RA_Cache[this].MPBG;
						this.Name = CT_RA_Cache[this].Name;
						this.Status = CT_RA_Cache[this].Status;
						this.HPBar = CT_RA_Cache[this].HPBar;
						this.MPBar = CT_RA_Cache[this].MPBar;
						this.Cast = CT_RA_Cache[this].Cast;
						this.CastFrame = CT_RA_Cache[this].CastFrame;
						this.Percent = CT_RA_Cache[this].Percent;
						this.BuffButton1 = CT_RA_Cache[this].BuffButton1;
						this.BuffButton2 = CT_RA_Cache[this].BuffButton2;
						this.BuffButton3 = CT_RA_Cache[this].BuffButton3;
						this.BuffButton4 = CT_RA_Cache[this].BuffButton4;
						this.DebuffButton1 = CT_RA_Cache[this].DebuffButton1;
						this.DebuffButton2 = CT_RA_Cache[this].DebuffButton2;
						
						this.frameParent = this:GetParent();
						this.HPBG:SetVertexColor(0, 1, 0, 0.2);
						this.MPBG:SetVertexColor(0, 0, 1, 0.2);
						this:SetBackdropColor(0, 0.1, 0.9, 0.5);
						this.name = this:GetName();
						this.update = 1;
						this.id = this:GetID();
					</OnLoad>
				</Scripts>
				<Size>
					<AbsDimension x="70" y="40"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="75" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentName" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontNormalSmall" text="">
							<Size>
								<AbsDimension x="82" y="12"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="9" y="-7"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentStatus" hidden="false" inherits="GameFontNormalSmall" text="">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="10" y="-18"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<Texture name="$parentHPBG" file="Interface\TargetingFrame\UI-StatusBar">
							<Size>
								<AbsDimension x="70" y="6"/>
							</Size>

⌨️ 快捷键说明

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