WoWInterface SVN Buffed

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 18 to Rev 19
    Reverse comparison

Rev 18 → Rev 19

Buffed!.lua
729,12 → 729,20
end)
end
UIDropDownMenu_AddButton(info, level)
 
info.text = "Load Profile"
info.tooltipTitle = "Load Character Profile"
info.tooltipText = "Load the settings from another Character"
info.value = "Profiles"
info.hasArrow = true
UIDropDownMenu_AddButton(info, level)
 
info.text = "Load Presets"
info.tooltipTitle = "Load Preset"
info.tooltipText = "Load Presetconfigurations"
info.value = "Presets"
info.hasArrow = true
UIDropDownMenu_AddButton(info, level)
 
end
elseif level == 2 then
801,6 → 809,22
end
UIDropDownMenu_AddButton(info, level)
end
elseif value == "Presets" then
info.text = "SBB/Elk"
info.func = function() ForAllFrames(function(f, FrameName, FrameNum, i)
if i ~= 1 then
f:SetPoint("TOP", _G["Buffed"..FrameName..i-1], "BOTTOM", 0, -2)
end
f:SetHeight(20)
f:SetWidth(20)
f.bar:SetHeight(20)
f.bar:SetWidth(100)
f.bar:SetPoint("LEFT", f, "RIGHT", 2, 0)
f.durationb:SetPoint("LEFT", f, "RIGHT", 104, 0)
end)
end
UIDropDownMenu_AddButton(info, level)
 
end
elseif level == 3 then
if value == "Orientation" then