WoWInterface SVN TipTop

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 101 to Rev 102
    Reverse comparison

Rev 101 → Rev 102

trunk/TipTop/tiptop.lua
1,5 → 1,5
--update for level increases from expansions
local hugeLevel = 110
local hugeLevel = 140
 
--CREATE & ASSIGN FRAMES--
TipTop = CreateFrame("FRAME", nil, GameTooltip)
38,7 → 38,7
local UnitIsConnected = _G.UnitIsConnected
local UnitIsDead = _G.UnitIsDead
local UnitIsDND = _G.UnitIsDND
local UnitIsTapped = _G.UnitIsTapped
local UnitIsTapDenied = _G.UnitIsTapDenied
local UnitIsTappedByPlayer = _G.UnitIsTappedByPlayer
local UnitIsFriend = _G.UnitIsFriend
local UnitLevel = _G.UnitLevel
211,7 → 211,6
local function FadedTip() --grays out tooltip if unit is tapped or dead
local tapped = false
if not UnitPlayerControlled("mouseover") then
--if UnitIsTapped("mouseover") and not UnitIsTappedByPlayer("mouseover") then
if UnitIsTapDenied("mouseover") then
tapped = true
end
460,8 → 459,9
leftText = left:GetText()
if leftText == specializationText then --finds the Talents line and updates with info
_G[GameTooltip:GetName().."TextRight"..i]:SetText(select(2,GetSpecializationInfoByID(maxtree)))
tt:Show()
break
end
tt:Show()
end
end
end
525,11 → 525,11
--moves tooltip
hooksecurefunc("GameTooltip_SetDefaultAnchor", function (tooltip, parent)
if db.onCursor then
tt:SetOwner(parent, "ANCHOR_CURSOR")
tooltip:SetOwner(parent, "ANCHOR_CURSOR")
else
tt:SetOwner(parent, "ANCHOR_NONE")
tt:ClearAllPoints()
tt:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
tooltip:SetOwner(parent, "ANCHOR_NONE")
tooltip:ClearAllPoints()
tooltip:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
end
end)
 
trunk/TipTop/TipTop.toc
1,8 → 1,8
## Interface: 70000
## Interface: 70100
## Title: TipTop
## Author: Seerah
## Notes: Tooltip enhancement
## Version: 2.16.1
## Version: 2.16.2
## SavedVariables: TipTopDB
## SavedVariablesPerCharacter: TipTopPCDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets