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

📄 myinventory_options.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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">	<Script file="localization.lua"/> 	<Script file="MyInventory_Options.lua"/> 	<CheckButton name="MI_CheckTemplate" inherits="UICheckButtonTemplate" virtual="true">		<HitRectInsets><AbsInset left="0" right="-100" top="0" bottom="0"/></HitRectInsets>		<Scripts>			<OnLoad>				 MyInventory_OptionCheck_OnLoad();			 </OnLoad>			 <OnClick>				MyInventory_OptionCheck_OnClick();			</OnClick>			<OnEnter>				MI_Check_OnEnter();			</OnEnter>			<OnLeave>				MI_Check_OnLeave();			</OnLeave>		</Scripts>	</CheckButton>	<CheckButton name="MI_CountCheckTemplate" inherits="MI_CheckTemplate" virtual="true">		<Scripts>			<OnClick>				MyInventory_CountCheck_OnClick();			</OnClick>		</Scripts>	</CheckButton>	<Frame name="MI_OptionsFrame" inherits="OptionFrameBoxTemplate" virtual="true">		<Scripts>			<OnLoad>				this:SetBackdropBorderColor(0.4, 0.4, 0.4);				this:SetBackdropColor(0.15, 0.15, 0.15);				--getglobal(this:GetName().."Title"):SetText("Help");			</OnLoad>		</Scripts>	</Frame>	<Frame name="MyInventoryOptionsFrame" toplevel="true" frameStrata="LOW" movable="true" enableMouse="true" hidden="true" parent="UIParent">		<Size><AbsDimension x="400" y="500" /></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" />  			<Size><AbsDimension x="128" y="17" /></Size>			</BackgroundInsets>			<TileSize><AbsValue val="32" /></TileSize>			<EdgeSize><AbsValue val="32" /></EdgeSize>		</Backdrop>		<Layers>			<Layer level="ARTWORK">				<Texture name="MyInventoryOptionsFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header">					<Size><AbsDimension x="276" y="64" /></Size>					<Anchors>						<Anchor point="TOP">							<Offset><AbsDimension x="0" y="12" /></Offset>						</Anchor>					</Anchors>				</Texture>				<FontString inherits="GameFontNormal" text="MyInventory">					<Anchors>						<Anchor point="TOP" relativeTo="MyInventoryOptionsFrame">							<Offset><AbsDimension x="0" y="-2" /></Offset>						</Anchor>					</Anchors>				</FontString>			</Layer>		</Layers>		<Frames>			<Frame name="MyInventory_OptionsFrame_General" inherits="MI_OptionsFrame">				<Size><AbsDimension x="375" y="80"/></Size>				<Anchors>					<Anchor point="TOPLEFT">						<Offset><AbsDimension x="12" y="-35"/></Offset>					</Anchor>				</Anchors>				<Frames>					<CheckButton name="MI_OptionsFrame_CheckButton_ReplaceBags" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-10" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_Freeze" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_ReplaceBags" relativePoint="TOPRIGHT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_HighlightBags" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-35" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_HighlightItems" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_HighlightBags" relativePoint="TOPRIGHT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>				</Frames>			</Frame>			<Frame name="MyInventory_OptionsFrame_Display" inherits="MI_OptionsFrame">				<Size><AbsDimension x="375" y="55"/></Size>				<Anchors>					<Anchor point="TOPLEFT" relativeTo="MyInventory_OptionsFrame_General" relativePoint="BOTTOMLEFT">						<Offset><AbsDimension x="0" y="-15"/></Offset>					</Anchor>				</Anchors>				<Frames>					<CheckButton name="MI_OptionsFrame_CheckButton_Background" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-10" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<!-- -LITE{ -->					<CheckButton name="MI_OptionsFrame_CheckButton_Graphics" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_Background" relativePoint="TOPRIGHT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<!-- }-LITE -->				</Frames>			</Frame>			<Frame name="MyInventory_OptionsFrame_Count" inherits="MI_OptionsFrame">				<Size><AbsDimension x="375" y="55"/></Size>				<Anchors>					<Anchor point="TOPLEFT" relativeTo="MyInventory_OptionsFrame_Display" relativePoint="BOTTOMLEFT">						<Offset><AbsDimension x="0" y="-15"/></Offset>					</Anchor>				</Anchors>				<Frames>					<CheckButton name="MI_OptionsFrame_CheckButton_CountUsed" inherits="MI_CountCheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-10" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_CountFree" inherits="MI_CountCheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_CountUsed">								<Offset><AbsDimension x="130" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_CountOff" inherits="MI_CountCheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_CountUsed">								<Offset><AbsDimension x="260" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>				</Frames>			</Frame>			<Frame name="MyInventory_OptionsFrame_Pieces" inherits="MI_OptionsFrame">				<Size><AbsDimension x="375" y="105"/></Size>				<Anchors>					<Anchor point="TOPLEFT" relativeTo="MyInventory_OptionsFrame_Count" relativePoint="BOTTOMLEFT">						<Offset><AbsDimension x="0" y="-15"/></Offset>					</Anchor>				</Anchors>				<Frames>					<CheckButton name="MI_OptionsFrame_CheckButton_ShowTitle" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-10" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_Buttons" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_ShowTitle" relativePoint="TOPRIGHT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_Cash" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="10" y="-35" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<CheckButton name="MI_OptionsFrame_CheckButton_ItemBorder" inherits="MI_CheckTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_CheckButton_Cash" relativePoint="TOPRIGHT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>					</CheckButton>					<Slider name="MI_OptionsFrame_Slider_Cols" inherits="OptionsSliderTemplate">						<Anchors>							<Anchor point="TOPLEFT">								<Offset><AbsDimension x="35" y="-75" /></Offset>							</Anchor>						</Anchors>						<Scripts>							<OnValueChanged>								MI_OptionsFrame_Slider_Cols_OnValueChanged();							</OnValueChanged>						</Scripts>					</Slider>					<Slider name="MI_OptionsFrame_Slider_Scale" inherits="OptionsSliderTemplate">						<Anchors>							<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_Slider_Cols" realtivePoint="TOPLEFT">								<Offset><AbsDimension x="150" y="0" /></Offset>							</Anchor>						</Anchors>						<Scripts>							<OnValueChanged>								MI_OptionsFrame_Slider_Scale_OnValueChanged();							</OnValueChanged>						</Scripts>					</Slider>				</Frames>			</Frame>			<Frame name="MI_OptionsFrame_Help" inherits="MI_OptionsFrame">				<Size><AbsDimension x="375" y="50"/></Size>				<Anchors>					<Anchor point="BOTTOMLEFT">						<Offset><AbsDimension x="12" y="60"/></Offset>					</Anchor>				</Anchors>				<Layers>					<Layer level="BACKGROUND">						<FontString name="MI_OptionsFrame_Help_Text" inherits="GameFontNormal" justifyH="LEFT" nonspacewrap="false">							<Anchors>								<Anchor point="TOPLEFT" relativeTo="MI_OptionsFrame_Help">									<Offset><AbsDimension x="10" y="-10"/></Offset>								</Anchor>							</Anchors>						</FontString>					</Layer>				</Layers>			</Frame>			<Button name="MI_CloseButton" inherits="OptionsButtonTemplate" text="Close">				<Anchors>					<Anchor point="BOTTOM" relativeTo="MyInventoryOptionsFrame" relativePoint="BOTTOM">						<Offset><AbsDimension x="0" y="25" /></Offset>					</Anchor>				</Anchors>				<Scripts>					<OnClick>						PlaySound("igMainMenuOptionCheckBoxOn");						this:GetParent():Hide();					</OnClick>				</Scripts>			</Button>			<!--			<Button name="MI_OptionsReset" inherits="OptionsButtonTemplate" text="Reset">			<Anchors>			<Anchor point="BOTTOM" relativeTo="MyInventoryOptionsFrame" relativePoint="BOTTOM">			<Offset><AbsDimension x="0" y="25" /></Offset>			</Anchor>			</Anchors>			<Scripts>			<OnClick>			PlaySound("igMainMenuOptionCheckBoxOn");			MyInventoryProfile[UnitName("player")] = nil;			MyInventory_InitializeProfile();			</OnClick>			<OnEnter>			GameTooltip_AddNewbieTip("Clear Settings", 1.0, 1.0, 1.0, "-Warning-\n\nClicking this will reset all of your settings to defaults.  You cannot cancel this action.");			</OnEnter>			<OnLeave>			GameTooltip:Hide();			</OnLeave>			</Scripts>			</Button>			-->		</Frames>		<Scripts>			<OnHide>				-- Check if the options frame was opened by myAddOns				if (MYADDONS_ACTIVE_OPTIONSFRAME == this) then					ShowUIPanel(myAddOnsFrame);				end			</OnHide>			<OnLoad>				MyInventoryOptionsFrame_OnLoad();			</OnLoad>			<OnShow>				MyInventoryOptionsFrame_OnShow();			</OnShow>			<OnMouseDown>				this:StartMoving();			</OnMouseDown>			<OnMouseUp>				this:StopMovingOrSizing();			</OnMouseUp>		</Scripts>	</Frame></Ui>

⌨️ 快捷键说明

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