Backdrop fixes and TOC bump for 9.1.5
This commit is contained in:
parent
8efe5dcbf3
commit
a78b31dba9
@ -536,7 +536,6 @@ function TI_HandleGossipWindow(gorq)
|
|||||||
TI_ResetPointers();
|
TI_ResetPointers();
|
||||||
return;
|
return;
|
||||||
elseif(current.type == "activequest" and #ActiveQuests > 0 and TI_activenumber <= #ActiveQuests) then
|
elseif(current.type == "activequest" and #ActiveQuests > 0 and TI_activenumber <= #ActiveQuests) then
|
||||||
DevTools_Dump(ActiveQuests);
|
|
||||||
while TI_activenumber <= #ActiveQuests do
|
while TI_activenumber <= #ActiveQuests do
|
||||||
TI_activenumber = TI_activenumber + 1;
|
TI_activenumber = TI_activenumber + 1;
|
||||||
if ActiveQuests[TI_activenumber-1].isComplete then
|
if ActiveQuests[TI_activenumber-1].isComplete then
|
||||||
@ -641,7 +640,6 @@ function TI_TabulateGossipQuestUIInfo(gquis)
|
|||||||
local x = {};
|
local x = {};
|
||||||
|
|
||||||
for i,gqui in ipairs(gquis) do
|
for i,gqui in ipairs(gquis) do
|
||||||
DevTools_Dump(gqui)
|
|
||||||
local temp = {};
|
local temp = {};
|
||||||
temp.name = gqui.title;
|
temp.name = gqui.title;
|
||||||
|
|
||||||
@ -694,4 +692,3 @@ function toggle(arg)
|
|||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
## Interface: 90002
|
## Interface: 90105
|
||||||
## X-Compatible-With: 90002
|
## X-Compatible-With: 90105
|
||||||
## Title: Turn In
|
## Title: Turn In
|
||||||
## Notes: Automates the selection of quest and gossip options.
|
## Notes: Automates the selection of quest and gossip options.
|
||||||
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex
|
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex
|
||||||
|
|||||||
13
TurnIn.xml
13
TurnIn.xml
@ -18,7 +18,7 @@
|
|||||||
</Layer>
|
</Layer>
|
||||||
</Layers>
|
</Layers>
|
||||||
<KeyValues>
|
<KeyValues>
|
||||||
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
|
<KeyValue key="backdropInfo" value="BACKDROP_TUTORIAL_16_16" type="global"/>
|
||||||
</KeyValues>
|
</KeyValues>
|
||||||
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||||
<EdgeSize>
|
<EdgeSize>
|
||||||
@ -408,7 +408,7 @@
|
|||||||
</Frame>
|
</Frame>
|
||||||
</Frames>
|
</Frames>
|
||||||
<KeyValues>
|
<KeyValues>
|
||||||
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
|
<KeyValue key="backdropInfo" value="BACKDROP_TUTORIAL_16_16" type="global"/>
|
||||||
</KeyValues>
|
</KeyValues>
|
||||||
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||||
<EdgeSize>
|
<EdgeSize>
|
||||||
@ -423,6 +423,15 @@
|
|||||||
</Backdrop>
|
</Backdrop>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnLoad>
|
<OnLoad>
|
||||||
|
self.backdropInfo = {
|
||||||
|
bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
|
||||||
|
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
|
||||||
|
tile = true,
|
||||||
|
tileEdge = true,
|
||||||
|
tileSize = 16,
|
||||||
|
edgeSize = 16,
|
||||||
|
insets = { left = 5, right = 5, top = 5, bottom = 5 },
|
||||||
|
};
|
||||||
self:ApplyBackdrop();
|
self:ApplyBackdrop();
|
||||||
self:SetBackdropBorderColor(0.6, 0.6, 0.6);
|
self:SetBackdropBorderColor(0.6, 0.6, 0.6);
|
||||||
self:SetBackdropColor(0.2, 0.2, 0.2);
|
self:SetBackdropColor(0.2, 0.2, 0.2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user