|
|
|
@@ -2,7 +2,7 @@ |
|
|
|
<Script file="TurnIn.lua" /> |
|
|
|
<Script file="TurnInUI.lua" /> |
|
|
|
|
|
|
|
<Frame name="TI_OptionFrameBoxTemplate" virtual="true"> |
|
|
|
<Frame name="TI_OptionFrameBoxTemplate" virtual="true" inherits="BackdropTemplate"> |
|
|
|
<!-- shamelessly stolen from blizzard --> |
|
|
|
<Layers> |
|
|
|
<Layer level="BACKGROUND"> |
|
|
|
@@ -17,6 +17,9 @@ |
|
|
|
</FontString> |
|
|
|
</Layer> |
|
|
|
</Layers> |
|
|
|
<KeyValues> |
|
|
|
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/> |
|
|
|
</KeyValues> |
|
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
|
|
|
<EdgeSize> |
|
|
|
<AbsValue val="16"/> |
|
|
|
@@ -30,6 +33,7 @@ |
|
|
|
</Backdrop> |
|
|
|
<Scripts> |
|
|
|
<OnLoad> |
|
|
|
self:ApplyBackdrop(); |
|
|
|
self:SetBackdropBorderColor(0.4, 0.4, 0.4); |
|
|
|
self:SetBackdropColor(0.5, 0.5, 0.5); |
|
|
|
</OnLoad> |
|
|
|
@@ -333,7 +337,7 @@ |
|
|
|
</Frames> |
|
|
|
</Frame> |
|
|
|
|
|
|
|
<Frame Name="TI_TempNPCListWindow" parent="UIParent" frameStrata="DIALOG" toplevel="true" enableMouse="true" movable="true" hidden="true"> |
|
|
|
<Frame Name="TI_TempNPCListWindow" parent="UIParent" frameStrata="DIALOG" toplevel="true" enableMouse="true" movable="true" hidden="true" inherits="BackdropTemplate"> |
|
|
|
<Size> |
|
|
|
<AbsDimension x="200" y="130" /> |
|
|
|
</Size> |
|
|
|
@@ -403,6 +407,9 @@ |
|
|
|
</Anchors> |
|
|
|
</Frame> |
|
|
|
</Frames> |
|
|
|
<KeyValues> |
|
|
|
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/> |
|
|
|
</KeyValues> |
|
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
|
|
|
<EdgeSize> |
|
|
|
<AbsValue val="16"/> |
|
|
|
@@ -415,6 +422,11 @@ |
|
|
|
</BackgroundInsets> |
|
|
|
</Backdrop> |
|
|
|
<Scripts> |
|
|
|
<OnLoad> |
|
|
|
self:ApplyBackdrop(); |
|
|
|
self:SetBackdropBorderColor(0.6, 0.6, 0.6); |
|
|
|
self:SetBackdropColor(0.2, 0.2, 0.2); |
|
|
|
</OnLoad> |
|
|
|
<OnMouseUp> |
|
|
|
if ( self.isMoving ) then |
|
|
|
self:StopMovingOrSizing(); |
|
|
|
@@ -436,7 +448,7 @@ |
|
|
|
</Scripts> |
|
|
|
</Frame> |
|
|
|
|
|
|
|
<Frame Name="TI_OptionsFrame" frameStrata="DIALOG" toplevel="true" enableMouse="true" enableMouseWheel="true" movable="true" parent="UIParent"> |
|
|
|
<Frame Name="TI_OptionsFrame" inherits="BackdropTemplate" frameStrata="DIALOG" toplevel="true" enableMouse="true" enableMouseWheel="true" movable="true" parent="UIParent"> |
|
|
|
<TitleRegion> |
|
|
|
<Size> |
|
|
|
<AbsDimension x="128" y="64"/> |
|
|
|
@@ -450,6 +462,9 @@ |
|
|
|
</Anchors> |
|
|
|
</TitleRegion> |
|
|
|
|
|
|
|
<KeyValues> |
|
|
|
<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global"/> |
|
|
|
</KeyValues> |
|
|
|
<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"/> |
|
|
|
@@ -463,9 +478,17 @@ |
|
|
|
</Backdrop> |
|
|
|
|
|
|
|
<Scripts> |
|
|
|
<OnShow> |
|
|
|
|
|
|
|
</OnShow> |
|
|
|
<OnLoad> |
|
|
|
self:ApplyBackdrop() |
|
|
|
self:EnableMouse(true) |
|
|
|
self:RegisterForDrag("LeftButton") |
|
|
|
</OnLoad> |
|
|
|
<OnDragStart> |
|
|
|
self:StartMoving() |
|
|
|
</OnDragStart> |
|
|
|
<OnDragStop> |
|
|
|
self:StopMovingOrSizing() |
|
|
|
</OnDragStop> |
|
|
|
</Scripts> |
|
|
|
<Size> |
|
|
|
<AbsDimension x="300" y="500"/> |
|
|
|
@@ -658,6 +681,7 @@ |
|
|
|
<Frame name="TI_OptionsPriorityContainer" inherits="TI_OptionFrameBoxTemplate"> |
|
|
|
<Scripts> |
|
|
|
<OnLoad> |
|
|
|
self:ApplyBackdrop(); |
|
|
|
self:SetBackdropBorderColor(0.4, 0.4, 0.4); |
|
|
|
self:SetBackdropColor(0.15, 0.15, 0.15); |
|
|
|
getglobal(self:GetName().."Title"):SetText("Gossip Options Priority List"); |
|
|
|
@@ -865,6 +889,7 @@ |
|
|
|
<Frame name="TI_OptionsNPCContainer" inherits="TI_OptionFrameBoxTemplate"> |
|
|
|
<Scripts> |
|
|
|
<OnLoad> |
|
|
|
self:ApplyBackdrop(); |
|
|
|
self:SetBackdropBorderColor(0.4, 0.4, 0.4); |
|
|
|
self:SetBackdropColor(0.15, 0.15, 0.15); |
|
|
|
getglobal(self:GetName().."Title"):SetText("NPC Database"); |