mirror of
https://github.com/araxiaonline/lua-runes.git
synced 2026-06-13 03:22:40 -04:00
Delete Wrath_Runes directory
This commit is contained in:
@@ -1,274 +0,0 @@
|
||||
local C_Engraving = {};
|
||||
|
||||
|
||||
|
||||
local Wrath_Runes = {};
|
||||
function Wrath_Runes.ToggleEngravingFrame()
|
||||
if not C_Engraving.IsEngravingEnabled() then
|
||||
return;
|
||||
end
|
||||
|
||||
if ( EngravingFrame and EngravingFrame:IsShown() ) then
|
||||
EngravingFrame:Hide();
|
||||
RuneFrameControlButton:SetChecked(false);
|
||||
else
|
||||
if ( not IsAddOnLoaded("Wrath_Runes") ) then
|
||||
LoadAddOn("Wrath_Runes");
|
||||
end
|
||||
|
||||
EngravingFrame:Show();
|
||||
RuneFrameControlButton:SetChecked(true);
|
||||
end
|
||||
end
|
||||
|
||||
function Wrath_Runes.GenerateRuneControlButton()
|
||||
local RuneFrameControlButton = CreateFrame("CheckButton", "RuneFrameControlButton", CharacterHandsSlot)
|
||||
RuneFrameControlButton:SetSize(32, 32)
|
||||
RuneFrameControlButton:SetPoint("BOTTOMRIGHT", CharacterHandsSlot, "TOPRIGHT", 0, 3)
|
||||
|
||||
RuneFrameControlButton:SetNormalTexture("Interface\\Icons\\INV_Misc_Rune_06")
|
||||
RuneFrameControlButton:SetHighlightTexture("Interface\\Buttons\\ButtonHilight-Square", "ADD")
|
||||
RuneFrameControlButton:SetCheckedTexture("Interface\\Buttons\\CheckButtonHilight", "ADD")
|
||||
|
||||
RuneFrameControlButton:SetScript("OnLoad", RuneFrameControlButton_OnLoad)
|
||||
RuneFrameControlButton:SetScript("OnShow", RuneFrameControlButton_OnShow)
|
||||
RuneFrameControlButton:SetScript("OnClick", Wrath_Runes.ToggleEngravingFrame)
|
||||
|
||||
PaperDollFrame:SetScript("OnHide", Wrath_Runes.ToggleEngravingFrame)
|
||||
end
|
||||
Wrath_Runes.GenerateRuneControlButton()
|
||||
|
||||
RuneFrameControlButton:SetScript("OnEnter", function(self)
|
||||
GameTooltip:SetOwner(self,"ANCHOR_RIGHT")
|
||||
GameTooltip:SetText("Runes",1.0,1.0,1.0)
|
||||
GameTooltip:Show()
|
||||
end)
|
||||
|
||||
RuneFrameControlButton:SetScript("OnLeave", function(self)
|
||||
GameTooltip:Hide()
|
||||
end)
|
||||
|
||||
|
||||
CATEGORY_FILTERS = {};
|
||||
RUNE_CATEGORIES = {1, 2, 3, 4, 5};
|
||||
OWNED_CATEGORIES = {1, 3};
|
||||
SEARCH_FILTER = nil;
|
||||
ENGRAVING_ENABLED = true;
|
||||
|
||||
function C_Engraving.IsEngravingEnabled()
|
||||
return ENGRAVING_ENABLED
|
||||
end
|
||||
|
||||
function C_Engraving.SetSearchFilter(filter)
|
||||
SEARCH_FILTER = filter
|
||||
end
|
||||
|
||||
function C_Engraving.SetCategoryFilter(category, state)
|
||||
CATEGORY_FILTERS[category] = state
|
||||
end
|
||||
|
||||
function C_Engraving.HasCategoryFilter(category)
|
||||
return CATEGORY_FILTERS[category] or false
|
||||
end
|
||||
|
||||
function C_Engraving.isCategoryOwned(category)
|
||||
for _, ownedCategory in ipairs(OWNED_CATEGORIES) do
|
||||
if ownedCategory == category then
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
function C_Engraving.GetRuneCategories(shouldFilter, ownedOnly)
|
||||
local categories = {}
|
||||
|
||||
for _, category in ipairs(RUNE_CATEGORIES) do
|
||||
if not shouldFilter or C_Engraving.HasCategoryFilter(category) then
|
||||
if not ownedOnly or C_Engraving.isCategoryOwned(category) then
|
||||
table.insert(categories, category)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return categories
|
||||
end
|
||||
|
||||
--[[ Method missing ]]--
|
||||
function C_Engraving.AddCategoryFilter(category)
|
||||
end
|
||||
|
||||
function C_Engraving.AddExclusiveCategoryFilter(category)
|
||||
end
|
||||
|
||||
function C_Engraving.CastRune(skillLineAbilityID)
|
||||
end
|
||||
|
||||
function C_Engraving.ClearAllCategoryFilters()
|
||||
end
|
||||
|
||||
function C_Engraving.ClearCategoryFilter(category)
|
||||
end
|
||||
|
||||
function C_Engraving.ClearExclusiveCategoryFilter()
|
||||
end
|
||||
|
||||
function C_Engraving.EnableEquippedFilter(enabled)
|
||||
end
|
||||
|
||||
function C_Engraving.GetCurrentRuneCast()
|
||||
end
|
||||
|
||||
function C_Engraving.GetEngravingModeEnabled()
|
||||
end
|
||||
|
||||
function C_Engraving.GetExclusiveCategoryFilter()
|
||||
end
|
||||
|
||||
function C_Engraving.GetNumRunesKnown(equipmentSlot)
|
||||
end
|
||||
|
||||
function C_Engraving.GetRuneForEquipmentSlot(equipmentSlot)
|
||||
end
|
||||
|
||||
function C_Engraving.GetRuneForInventorySlot(containerIndex, slotIndex)
|
||||
end
|
||||
|
||||
function C_Engraving.GetRunesForCategory(category, ownedOnly)
|
||||
end
|
||||
|
||||
function C_Engraving.IsEquipmentSlotEngravable(equipmentSlot)
|
||||
end
|
||||
|
||||
function C_Engraving.IsEquippedFilterEnabled()
|
||||
end
|
||||
|
||||
function C_Engraving.IsInventorySlotEngravable(containerIndex, slotIndex)
|
||||
end
|
||||
|
||||
function C_Engraving.IsInventorySlotEngravableByCurrentRuneCast(containerIndex, slotIndex)
|
||||
end
|
||||
|
||||
function C_Engraving.IsKnownRuneSpell(spellID)
|
||||
end
|
||||
|
||||
function C_Engraving.IsRuneEquipped(skillLineAbilityID)
|
||||
end
|
||||
|
||||
function C_Engraving.RefreshRunesList()
|
||||
end
|
||||
|
||||
function C_Engraving.SetEngravingModeEnabled(enabled)
|
||||
end
|
||||
|
||||
function C_Engraving.EngravingModeChanged(enabled)
|
||||
end
|
||||
|
||||
function C_Engraving.EngravingTargetingModeChanged(enabled)
|
||||
end
|
||||
|
||||
function C_Engraving.RuneUpdated(rune)
|
||||
end
|
||||
|
||||
--[[ Not sure for this ]]--
|
||||
local EngravingData = {
|
||||
skillLineAbilityID = 0,
|
||||
itemEnchantmentID = 0,
|
||||
name = "",
|
||||
iconTexture = 0,
|
||||
equipmentSlot = 0,
|
||||
level = 0,
|
||||
learnedAbilitySpellIDs = {}
|
||||
}
|
||||
|
||||
RUNE_BUTTON_HEIGHT = 40;
|
||||
RUNE_HEADER_BUTTON_HEIGHT = 23;
|
||||
|
||||
ALL_RUNES_CATEGORY = -1;
|
||||
EQUIPPED_RUNES_CATEGORY = -2;
|
||||
|
||||
function EngravingFrame_OnLoad (self)
|
||||
self.scrollFrame.update = function() EngravingFrame_UpdateRuneList(self) end;
|
||||
self.scrollFrame.scrollBar.doNotHide = true;
|
||||
self.scrollFrame.dynamic = EngravingFrame_CalculateScroll;
|
||||
|
||||
HybridScrollFrame_CreateButtons(self.scrollFrame, "RuneSpellButtonTemplate", 0, -1, "TOPLEFT", "TOPLEFT", 0, -1, "TOP", "BOTTOM");
|
||||
end
|
||||
|
||||
function EngravingFrame_OnShow (self)
|
||||
SetUIPanelAttribute(CharacterFrame, "width", 560);
|
||||
UpdateUIPanelPositions(CharacterFrame);
|
||||
|
||||
--[[ C_Engraving.RefreshRunesList(); ]]
|
||||
C_Engraving.SetSearchFilter("");
|
||||
|
||||
EngravingFrame_UpdateRuneList(self);
|
||||
|
||||
--[[ C_Engraving.SetEngravingModeEnabled(true);]]
|
||||
|
||||
self:RegisterEvent("PLAYER_EQUIPMENT_CHANGED");
|
||||
self:RegisterEvent("NEW_RECIPE_LEARNED");
|
||||
end
|
||||
|
||||
function EngravingFrame_CalculateScroll(offset)
|
||||
local heightLeft = offset;
|
||||
|
||||
local i = 1;
|
||||
-- TODO: Add categories
|
||||
local categories = { };
|
||||
for _, category in ipairs(categories) do
|
||||
|
||||
if ( heightLeft - RUNE_HEADER_BUTTON_HEIGHT <= 0 ) then
|
||||
return i - 1, heightLeft;
|
||||
else
|
||||
heightLeft = heightLeft - RUNE_HEADER_BUTTON_HEIGHT;
|
||||
end
|
||||
i = i + 1;
|
||||
|
||||
-- TODO: Add runes
|
||||
local runes = { };
|
||||
for _, rune in ipairs(runes) do
|
||||
if ( heightLeft - RUNE_BUTTON_HEIGHT <= 0 ) then
|
||||
return i - 1, heightLeft;
|
||||
else
|
||||
heightLeft = heightLeft - RUNE_BUTTON_HEIGHT;
|
||||
end
|
||||
i = i + 1;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function EngravingFrameSearchBox_OnShow(self)
|
||||
self:SetText("Search");
|
||||
self:SetFontObject("GameFontDisable");
|
||||
self.searchIcon:SetVertexColor(0.6, 0.6, 0.6);
|
||||
self:SetTextInsets(16, 0, 0, 0);
|
||||
end
|
||||
|
||||
function EngravingFrameSearchBox_OnEditFocusLost(self)
|
||||
self:HighlightText(0, 0);
|
||||
if ( self:GetText() == "" ) then
|
||||
self:SetText("Search");
|
||||
self:SetFontObject("GameFontDisable");
|
||||
self.searchIcon:SetVertexColor(0.6, 0.6, 0.6);
|
||||
end
|
||||
end
|
||||
|
||||
function EngravingFrameSearchBox_OnEditFocusGained(self)
|
||||
self:HighlightText();
|
||||
if ( self:GetText() == "Search" ) then
|
||||
self:SetFontObject("ChatFontSmall");
|
||||
self.searchIcon:SetVertexColor(1.0, 1.0, 1.0);
|
||||
end
|
||||
end
|
||||
|
||||
function EngravingFrameSearchBox_OnTextChanged(self)
|
||||
local text = self:GetText();
|
||||
|
||||
if ( text == "Search" ) then
|
||||
-- C_Engraving.SetSearchFilter("");
|
||||
return;
|
||||
end
|
||||
|
||||
EngravingFrame_UpdateRuneList(_G["EngravingFrame"]);
|
||||
end
|
||||
@@ -1,7 +0,0 @@
|
||||
## Title: Wrath_Runes
|
||||
## Version: 1.0
|
||||
## Author: iThorgrim
|
||||
## Interface: 30300
|
||||
|
||||
Wrath_Runes.xml
|
||||
Wrath_Runes.lua
|
||||
@@ -1,316 +0,0 @@
|
||||
<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="Wrath_Runes.lua"/>
|
||||
|
||||
<Button name="RuneSpellButtonTemplate" virtual="true">
|
||||
<Size x="160" y="30"/>
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture name="$parentIcon" parentKey="icon">
|
||||
<Size x="36" y="36"/>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" x="2" y="0"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
|
||||
<Size x="110" y="12"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT" x="4" y="-5"/>
|
||||
</Anchors>
|
||||
<Color r="1" g="1" b="1"/>
|
||||
</FontString>
|
||||
<FontString name="$parentTypeName" inherits="GameFontNormalSmall" justifyH="LEFT" parentKey="typeName">
|
||||
<Size x="110" y="12"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
|
||||
</Anchors>
|
||||
<Color r="1" g="1" b="0.6"/>
|
||||
</FontString>
|
||||
</Layer>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture parentKey="selectedTex" file="Interface\ClassTrainerFrame\TrainerTextures" hidden="true" alphaMode="ADD">
|
||||
<TexCoords left="0.00195313" right="0.57421875" top="0.84960938" bottom="0.94140625"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture parentKey="disabledBG" hidden="true" alphaMode="MOD">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" x="2" y="-2"/>
|
||||
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
|
||||
</Anchors>
|
||||
<Color r="0.55" g="0.55" b="0.55" a="1"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnLoad> self:RegisterForClicks("LeftButtonUp", "RightButtonUp"); </OnLoad>
|
||||
<OnEnter function ="RuneSpellButton_OnEnter"/>
|
||||
<OnLeave>
|
||||
GameTooltip_Hide();
|
||||
self.showingTooltip = false;
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
EngravingFrameSpell_OnClick(self, button);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\ClassTrainerFrame\TrainerTextures">
|
||||
<TexCoords left="0.00195313" right="0.57421875" top="0.65820313" bottom="0.75000000"/>
|
||||
</NormalTexture>
|
||||
<HighlightTexture name="$parentHighlight" file="Interface\ClassTrainerFrame\TrainerTextures" alphaMode="ADD">
|
||||
<TexCoords left="0.00195313" right="0.57421875" top="0.75390625" bottom="0.84570313"/>
|
||||
</HighlightTexture>
|
||||
</Button>
|
||||
|
||||
<Button name="RuneHeaderButtonTemplate" virtual="true">
|
||||
<Size x="160" y="20"/>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="$parentMiddle" file="Interface\Buttons\CollapsibleHeader" parentKey="middle">
|
||||
<Size x="0" y="20"/>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" x="20" y="0"/>
|
||||
<Anchor point="RIGHT" x="-20" y="0"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.48046875" right="0.98046875" top="0.01562500" bottom="0.26562500"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BORDER">
|
||||
<Texture name="$parentLeft" file="Interface\Buttons\CollapsibleHeader" parentKey="leftEdge">
|
||||
<Size x="76" y="20"/>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="LEFT" x="-20" y="0"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.17578125" right="0.47265625" top="0.29687500" bottom="0.54687500"/>
|
||||
</Texture>
|
||||
<Texture name="$parentRight" file="Interface\Buttons\CollapsibleHeader" parentKey="rightEdge">
|
||||
<Size x="76" y="20"/>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentMiddle" relativePoint="RIGHT" x="20" y="0"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.17578125" right="0.47265625" top="0.01562500" bottom="0.26562500"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="ARTWORK">
|
||||
<Texture name="$parentExpandedIcon" parentKey="expandedIcon" inherits="Char-Stat-Minus">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentLeft" x="10" y="0"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentCollapsedIcon" parentKey="collapsedIcon" inherits="Char-Stat-Plus">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentLeft" x="10" y="0"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentIcon" parentKey="icon">
|
||||
<Size x="14" y="14"/>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentLeft" x="26" y="0"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.08" right="0.92" top="0.08" bottom="0.92"/>
|
||||
</Texture>
|
||||
<FontString name="$parentName" inherits="GameFontNormal" parentKey="name">
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="$parentMiddle" x="0" y="1"/>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnClick function="RuneHeader_OnClick"/>
|
||||
<OnMouseDown>
|
||||
if ( self:IsEnabled() ) then
|
||||
self.middle:SetPoint("LEFT", 22, -2);
|
||||
self.middle:SetPoint("RIGHT", -18, -2);
|
||||
end
|
||||
</OnMouseDown>
|
||||
<OnMouseUp>
|
||||
self.middle:SetPoint("LEFT", 20, 0);
|
||||
self.middle:SetPoint("RIGHT", -20, 0);
|
||||
</OnMouseUp>
|
||||
</Scripts>
|
||||
</Button>
|
||||
|
||||
<Frame name="EngravingFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
|
||||
<Size x="193" y="348"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="CharacterFrame" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-24" y="-70"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Frames>
|
||||
<Frame parentKey="Border">
|
||||
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
||||
<BackgroundInsets left="0" right="0" top="0" bottom="0"/>
|
||||
<TileSize val="16"/>
|
||||
<EdgeSize val="16"/>
|
||||
|
||||
<BorderColor r="1" g="1" b="1" a=".8"/>
|
||||
<Color r="1" g="1" b="1" />
|
||||
</Backdrop>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" x="-10" y="57"/>
|
||||
<Anchor point="BOTTOMRIGHT" x="10" y="-21"/>
|
||||
</Anchors>
|
||||
</Frame>
|
||||
<Frame name="$parentSideInset" inherits="InsetFrameTemplate" parentKey="sideInset">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="344" />
|
||||
<Anchor point="BOTTOMRIGHT" x="0" y="1"/>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="$parentBackground" file="Interface\TalentFrame\glyph-side-bg">
|
||||
<Size x="168" y="344"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" x="2" y="-2"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.6171875" top="0" bottom="0.740234375"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</Frame>
|
||||
<EditBox name="$parentSearchBox" autoFocus="false" letters="25">
|
||||
<Size>
|
||||
<AbsDimension x="180" y="20"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentSideInset" x="8" y="54"/>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="20"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset x="-5" y="0"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
|
||||
</Texture>
|
||||
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="20"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT">
|
||||
<Offset x="0" y="0"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
|
||||
</Texture>
|
||||
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="20"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
|
||||
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture name="$parentSearchIcon" file="Interface\Common\UI-Searchbox-Icon" parentKey="searchIcon">
|
||||
<Size>
|
||||
<AbsDimension x="14" y="14"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" y="-2"/>
|
||||
</Anchors>
|
||||
<Color r="0.7" g="0.7" b="0.7" />
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnShow function="EngravingFrameSearchBox_OnShow"/>
|
||||
<OnEnterPressed function="EditBox_ClearFocus"/>
|
||||
<OnEscapePressed function="EditBox_ClearFocus"/>
|
||||
<OnTextChanged function="EngravingFrameSearchBox_OnTextChanged"/>
|
||||
<OnEditFocusLost function="EngravingFrameSearchBox_OnEditFocusLost"/>
|
||||
<OnEditFocusGained function="EngravingFrameSearchBox_OnEditFocusGained"/>
|
||||
</Scripts>
|
||||
<FontString inherits="ChatFontSmall"/>
|
||||
</EditBox>
|
||||
<Frame name="$parentFilterDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentSearchBox" relativePoint="BOTTOMLEFT" x="-23" y="-3"/>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
UIDropDownMenu_SetWidth(self, 170);
|
||||
UIDropDownMenu_JustifyText(self, "LEFT");
|
||||
UIDropDownMenu_SetText(self, ALL_RUNES);
|
||||
UIDropDownMenu_Initialize(self, RuneFrameFilter_Initialize);
|
||||
</OnLoad>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
<ScrollFrame name="$parentScrollFrame" inherits="HybridScrollFrameTemplate" parentKey="scrollFrame">
|
||||
<Size x="185" y="348"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentSideInset" x="5" y="-3"/>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="$parentSideInset" x="-21" y="2"/>
|
||||
</Anchors>
|
||||
<Frames>
|
||||
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-12"/>
|
||||
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="13"/>
|
||||
</Anchors>
|
||||
</Slider>
|
||||
</Frames>
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<FontString name="$parentEmptyLabel" inherits="GameFontNormal" justifyH="LEFT" parentKey="emptyText">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" x="2" y="-6"/>
|
||||
</Anchors>
|
||||
<Color r="1" g="1" b="1"/>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</ScrollFrame>
|
||||
<Frame name="$parentCollectedFrame" parentKey="collected">
|
||||
<Size x ="185" y ="20"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentScrollFrame" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<FontString name="$parentLabel" inherits="GameFontNormal" justifyH="LEFT" parentKey="collectedText" text ="0/15 Runes Collected">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" x="0" y="-1"/>
|
||||
</Anchors>
|
||||
<Color r="1" g="1" b="1"/>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</Frame>
|
||||
|
||||
<Button name="$parentHeader1" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader2" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader3" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader4" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader5" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader6" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader7" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader8" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader9" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader10" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader11" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader12" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader13" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader14" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
<Button name="$parentHeader15" inherits="RuneHeaderButtonTemplate" hidden="true"/>
|
||||
</Frames>
|
||||
<Scripts>
|
||||
<OnLoad function="EngravingFrame_OnLoad"/>
|
||||
<OnShow function="EngravingFrame_OnShow"/>
|
||||
<OnHide function="EngravingFrame_OnHide"/>
|
||||
<OnEvent function="EngravingFrame_OnEvent"/>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user