WoWInterface SVN OpenRDX

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/RDX/RosterMgr/Sets/SetClass
    from Rev 653 to Rev 655
    Reverse comparison

Rev 653 → Rev 655

CooldownSets.lua
95,7 → 95,7
});
end
table.sort(qq, function(x1,x2) return tostring(x1.text) < tostring(x2.text); end);
VFL.poptree:Begin(150, 12, frame, point, dx, dy);
VFL.poptree:Begin(250, 12, frame, point, dx, dy);
VFL.poptree:Expand(nil, qq, 20);
end
 
103,7 → 103,7
name = "cd_avail",
title = VFLI.i18n("Cooldown Available"),
GetUI = function(parent, desc)
local ui = VFLUI.LabeledEdit:new(parent, 150);
local ui = VFLUI.LabeledEdit:new(parent, 250);
ui:SetText(VFLI.i18n("Cooldown Name")); ui:Show();
if desc and desc.cd then
local cdinfo = RDXCD.GetCooldownInfoBySpellid(desc.cd);
116,7 → 116,7
btn:SetHeight(25); btn:SetWidth(25); btn:SetText("...");
btn:SetPoint("RIGHT", ui.editBox, "LEFT"); btn:Show();
btn:SetScript("OnClick", function()
RDXDAL.CooldownCachePopup(RDXCD.GetCDC(), function(x)
RDXDAL.CooldownCachePopup(RDXCD.GetCDCs(), function(x)
if x then ui.editBox:SetText(x.text); end
end, btn, "CENTER");
end);
141,7 → 141,7
name = "cd_used",
title = VFLI.i18n("Cooldown Used"),
GetUI = function(parent, desc)
local ui = VFLUI.LabeledEdit:new(parent, 150);
local ui = VFLUI.LabeledEdit:new(parent, 250);
ui:SetText(VFLI.i18n("Cooldown Name")); ui:Show();
if desc and desc.cd then
local cdinfo = RDXCD.GetCooldownInfoBySpellid(desc.cd);
154,7 → 154,7
btn:SetHeight(25); btn:SetWidth(25); btn:SetText("...");
btn:SetPoint("RIGHT", ui.editBox, "LEFT"); btn:Show();
btn:SetScript("OnClick", function()
RDXDAL.CooldownCachePopup(RDXCD.GetCDC(), function(x)
RDXDAL.CooldownCachePopup(RDXCD.GetCDCs(), function(x)
if x then ui.editBox:SetText(x.text); end
end, btn, "CENTER");
end);