WoWInterface SVN LovelyLoot

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

LovelyLoot/LovelyLoot.toc
1,7 → 1,7
## Interface: 40200
## Title: LovelyLoot
## Author: Seerah
## Version: 1.0.2
## Version: 1.1
## Notes: Making the loot frames more lovely to look at and work with.
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets, rActionButtonStyler, ButtonFacade
## SavedVariables: LovelyLootDB
LovelyLoot/lloot.lua
22,6 → 22,7
borderColor = {r = 1, g = 1, b = 1, a = 1},
sbar = "Blizzard",
sbarColor = {r = 1, g = 1, b = 0},
hideDragon = false,
}
 
local options = {
42,7 → 43,7
},
glfUnlocked = {
name = "Unlock GroupLootFrames",
desc = "If checked, the first (bottom) GroupLootFrame is unlocked and you can drag it on your screen. The rest will follow suit.",
desc = "If checked, the first (bottom) GroupLootFrame is unlocked and you can drag it on your screen. The rest will follow suit. (NOTE: The unless using another addon to move them, the achievement popups are anchored to the group loot frames as well.)",
type = "toggle",
get = function() return db.glfUnlocked end,
set = function()
197,6 → 198,19
end,
order = 8,
},
hideDragon = {
name = "Hide Elite Dragon",
desc = "Hides the dragon on group loot frames when looting from an elite npc.",
type = "toggle",
get = function() return db.hideDragon end,
set = function()
db.hideDragon = not db.hideDragon
for k,v in pairs(frames) do
SkinFrames(v, true)
end
end,
order = 8.5,
},
spacer4 = {
name = " ",
type = "description",
271,6 → 285,11
if frame ~= LootFrame then
_G[frame:GetName().."Timer"]:SetStatusBarTexture(LSM:Fetch("statusbar", db.sbar))
_G[frame:GetName().."Timer"]:SetStatusBarColor(db.sbarColor.r, db.sbarColor.g, db.sbarColor.b, db.sbarColor.a)
if db.hideDragon then
_G[frame:GetName().."Decoration"]:SetTexture()
else
_G[frame:GetName().."Decoration"]:SetTexture("Interface\\DialogFrame\\UI-DialogBox-Gold-Dragon")
end
end
--end
end