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 |
}); |
|