WoWInterface SVN TipTop

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/TipTop
    from Rev 35 to Rev 36
    Reverse comparison

Rev 35 → Rev 36

tiptop.lua
18,7 → 18,8
local server = GetRealmName()
local target, tclass, tserver, targetLine, _, tree, pnts, spec, points, lasthp, lastmax, textformat
local talents = {}
local raidIcon = tt:CreateTexture(nil, "OVERLAY")
--local raidIcon = tt:CreateTexture(nil, "OVERLAY")
local raidIcon = ttSBar:CreateTexture(nil, "OVERLAY")
local tooltips = { GameTooltip,
ItemRefTooltip,
ShoppingTooltip1,
188,14 → 189,10
end
 
local function RaidIconUpdate()
if UnitExists("mouseover") then
local icon = GetRaidTargetIndex("mouseover")
if icon then
SetRaidTargetIconTexture(raidIcon, icon)
raidIcon:Show()
else
raidIcon:Hide()
end
local icon = GetRaidTargetIndex("mouseover")
if icon then
SetRaidTargetIconTexture(raidIcon, icon)
raidIcon:Show()
else
raidIcon:Hide()
end
314,15 → 311,14
local function MouseoverTargetUpdate()
RaidIconUpdate()
BorderClassColor()
Appendices()
FadeTip()
TalentQuery()
SBarContainerUpdate()
end
 
local function TipShow()
RaidIconUpdate()
if tt:GetUnit() then
Appendices()
BorderClassColor()
SBarContainerUpdate()
elseif tt:GetItem() then
414,9 → 410,9
 
hooksecurefunc("GameTooltip_SetDefaultAnchor", function (tooltip, parent)
if db.onCursor then
tt:SetOwner(UIParent, "ANCHOR_CURSOR")
tt:SetOwner(parent, "ANCHOR_CURSOR")
else
tt:SetOwner(UIParent, "ANCHOR_NONE")
tt:SetOwner(parent, "ANCHOR_NONE")
tt:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
end
end)
443,6 → 439,9
ShoppingTooltip1:SetScript("OnShow", function() ShoppingTipOne() ItemQualityBorder() end)
ShoppingTooltip2:SetScript("OnShow", function() ShoppingTipTwo() ItemQualityBorder() end)
ShoppingTooltip3:SetScript("OnShow", function() ShoppingTipThree() ItemQualityBorder() end)
 
TipTop:UnregisterEvent("PLAYER_LOGIN")
PlayerLogin = nil
end
 
TipTop:SetScript("OnEvent", PlayerLogin)
TipTop.toc
2,7 → 2,7
## Name: TipTop
## Author: Seerah
## Notes: Tooltip enhancement
## Version: 1.8.4
## Version: 1.8.5
## SavedVariables: TipTopDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets