WoWInterface SVN OpenRDX

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/RDX/Windows
    from Rev 660 to Rev 682
    Reverse comparison

Rev 660 → Rev 682

WindowList.lua
141,8 → 141,8
function RDXDK.WindowList(parent)
if dlg then return nil; end
dlg = VFLUI.Window:new(parent);
dlg:SetFraming(VFLUI.Framing.Sleek);
dlg:SetBackdropColor(0,0,0,.8);
dlg:SetFraming(VFLUI.Framing.Sleek, VFLUI.DarkDialogBackdrop);
--dlg:SetBackdropColor(0,0,0,.8);
dlg:SetTitleColor(0,.5,0);
dlg:SetText(VFLI.i18n("Window List"));
dlg:SetPoint("CENTER", VFLParent, "CENTER");
Framing.lua
75,11 → 75,27
local win = nil;
state:_Attach(state:Slot("Create"), true, function(w)
win = w;
w:SetFraming(VFLUI.Framing.None, 0);
w:SetFraming(VFLUI.Framing.None, 0, desc.bkd);
end);
return true;
end,
UIFromDescriptor = VFL.Nil,
UIFromDescriptor = function(desc, parent, state)
local ui = VFLUI.CompoundFrame:new(parent);
 
local er = VFLUI.EmbedRight(ui, VFLI.i18n("Backdrop style"));
local bkd = VFLUI.MakeBackdropSelectButton(er, desc.bkd); bkd:Show();
er:EmbedChild(bkd); er:Show();
ui:InsertFrame(er);
 
function ui:GetDescriptor()
return {
feature = "Frame: None";
bkd = bkd:GetSelectedBackdrop();
};
end
 
return ui;
end,
CreateDescriptor = function() return {feature = "Frame: None"}; end
});