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

📄 damagemeters.xml

📁 时间太紧了
💻 XML
📖 第 1 页 / 共 2 页
字号:
<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="DamageMeters_Globals.lua"/>
	<Script file="localization.lua"/>
	<Script file="DamageMeters_Report.lua"/>
	<Script file="DamageMeters.lua"/>

	<GameTooltip name="DamageMetersTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate" parent="UIParent">
		<Scripts>
			<OnLoad>
				this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
				this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
			</OnLoad>
		</Scripts>
	</GameTooltip>

	<Button name="DamageMeters_UIDropDownMenuButtonTemplate" inherits="UIDropDownMenuButtonTemplate" virtual="true">
	</Button>

	<StatusBar name="DamageMetersBarTemplate" inherits="TextStatusBar" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="119" y="12"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="47" y="-21"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				--this:RegisterForClicks("LeftButtonDown");
				--TextStatusBar_OnLoad();
			</OnLoad>
			<OnEvent>
				UnitFrameManaBar_Update(this, arg1);
			</OnEvent>
			<OnMouseDown>
				DamageMetersBarTemplate_OnClick();
			</OnMouseDown>
			<OnEnter>
                DamageMetersBarTemplate_OnEnter();
            </OnEnter>
            <OnLeave>
				DamageMetersBarTemplate_OnLeave();
            </OnLeave>
		</Scripts>
		<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
	</StatusBar>

	-- MailFrame
	<Frame name="DMReportFrame" toplevel="true" parent="UIParent" enableMouse="true" hidden="false">
		<Size>
			<AbsDimension x="360" y="340"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
			<Offset>
				<AbsDimension x="0" y="0"/>
			</Offset>
		</Anchors>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="false">
			<BackgroundInsets>
				<!-- Just the background texture only -->
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
		</Backdrop>
		<Frames>
			<Frame name="DMSendMailFrame">
				<Size>
					<AbsDimension x="260" y="512"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Frames>
					<ScrollFrame name="DMSendMailScrollFrame" inherits="UIPanelScrollFrameTemplate">
						<Size>
							<!-- This also moves teh scroll bar -->
							<AbsDimension x="325" y="316"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-12"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
											<Offset>
												<AbsDimension x="-2" y="5"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="106"/>
									</Size>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-2" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<ScrollChild>
							<Frame name="DMSendMailScrollChildFrame" enableMouse="true">
								<Size>
									<!-- This moves the scroll bar -->
									<AbsDimension x="260" y="145"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<!-- Seemingly irrelevant -->
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Frames>
									<EditBox name="DMReportFrame_SendMailBodyEditBox" letters="65535" multiLine="true" enableMouse="true" autoFocus="false">
										<Size>
											<!-- This is the width of the text area -->
											<AbsDimension x="310" y="100"/>
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<!-- This effects how high up the text is when the scroll bar is at the top. -->
													<AbsDimension x="10" y="0"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnTextChanged>
												ScrollingEdit_OnTextChanged(DMSendMailScrollFrame);
											</OnTextChanged>
											<OnCursorChanged>
												ScrollingEdit_OnCursorChanged(arg1, arg2-10, arg3, arg4);
											</OnCursorChanged>
											<OnUpdate>
												ScrollingEdit_OnUpdate(DMSendMailScrollFrame);
											</OnUpdate>
											<OnEscapePressed>
												this:ClearFocus();
											</OnEscapePressed>
											<OnClick>
												this:SetFocus();
											</OnClick>
											<OnEditFocusLost>
												HideUIPanel(DMReportFrame);
											</OnEditFocusLost>
										</Scripts>
										<FontString inherits="GameTooltipTextSmall"/>
									</EditBox>
								</Frames>
								<Scripts>
									<OnMouseUp>
										DMReportFrame_SendMailBodyEditBox:SetFocus();
									</OnMouseUp> 
								</Scripts>
							</Frame>
						</ScrollChild>
					</ScrollFrame>
				</Frames>
			</Frame>

			<Button name="DMOpenMailCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						HideUIPanel(DMReportFrame);
					</OnClick>
				</Scripts>
			</Button>

			<Button name="DMReportTypeButton" inherits="GameMenuButtonTemplate" text="DM_MENU_CHOOSEREPORT">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="DMSendMailFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="DMReportTypeButtonText" inherits="GameTooltipTextSmall" text="DM_MENU_CHOOSEREPORT">
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="1"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOption");
						DamageMeters_ReportTypeButton_OnClick();
					</OnClick>
				</Scripts>
			</Button>

			<Frame name="DMReportTypeDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
				<Size>
					<AbsDimension x="10" y="10"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="DMReportTypeButton" relativePoint="TOP">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						DamageMeters_ReportTypeDropDown_OnLoad();
					</OnLoad>
				</Scripts>
			</Frame>

		</Frames>
		<Scripts>
			<OnHide>
				HideDropDownMenu(1);
				HideUIPanel(DMReportFrame);
				PlaySound("igCharacterInfoClose");
			</OnHide>
		</Scripts>
	</Frame>

	<Frame name="DamageMetersHiddenFrame" parent="UIParent" hidden="false">
		<Scripts>
			<OnUpdate>
				DamageMetersHiddenFrame_OnUpdate();
			</OnUpdate>
		</Scripts>
	</Frame>

	<Frame name="DamageMetersFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
        <Size>
            <AbsDimension x="131" y="81"/>
        </Size>
        <Anchors>
            <Anchor point="TOPLEFT"/>
        </Anchors>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="5" right="4" top="5" bottom="5"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
		</Backdrop>
        <!-- <TitleRegion setAllPoints="true"/> -->
        <Frames>
			<Frame setAllPoints="true">

⌨️ 快捷键说明

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