Is it possible to use raid10, raid25 and raid40 as UnitSpecific, directly? I mean just like player, pet, etc.
Something like this ...
Code:
local UnitSpecific = {
raid10 = function(self)
Shared(self)
self:SetAttribute('initial-height', 26)
self:SetAttribute('initial-width', 80)
end,
raid25 = function(self)
Shared(self)
self:SetAttribute('initial-height', 20)
self:SetAttribute('initial-width', 40)
end,
}
That would be pretty damn awesome, because you could have different raidframes for different raid sizes, really easy.