WoWInterface SVN TipTop

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 97 to Rev 98
    Reverse comparison

Rev 97 → Rev 98

trunk/TipTop/TipTop.toc
2,7 → 2,7
## Title: TipTop
## Author: Seerah
## Notes: Tooltip enhancement
## Version: 2.14.3
## Version: 2.14.4
## SavedVariables: TipTopDB
## SavedVariablesPerCharacter: TipTopPCDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
trunk/TipTop/TipTopOptions.lua
80,12 → 80,14
end
 
local function CreateMover()
mover = CreateFrame("Frame", nil, UIParent)
--mover = CreateFrame("Frame", nil, UIParent)
mover = CreateFrame("Frame", "TipTopMover", UIParent)
mover:SetSize(200, 100)
mover:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
mover.t = mover:CreateTexture()
mover.t:SetAllPoints()
mover.t:SetTexture(0,0,1,.4)
mover.t:SetTexture("Interface\\Buttons\\WHITE8x8")
mover.t:SetVertexColor(0,0,1,.4)
mover:EnableMouse(true)
mover:SetMovable(true)
mover:SetClampedToScreen(true)
286,14 → 288,15
type = "execute",
disabled = function() return db.onCursor end,
func = function()
print("clicked button")
InterfaceOptionsFrame:Hide()
if not mover then
print("creating mover")
CreateMover()
else
mover:ClearAllPoints()
mover:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
mover:Show()
end
mover:ClearAllPoints()
mover:SetPoint(db.anchor, UIParent, db.anchor, db.offsetX, db.offsetY)
mover:Show()
StaticPopup_Show("TIPTOP_MOVER")
end,
order = 15,