/trunk
------------------------------------------------------- Frame script handlers -- |
local function OnFrameShow(self) |
if self.carrier then |
self.carrier:Show() |
-- TODO or I could just make the positioning a function and call it here |
self.carrier.DoShow = true |
end |
-- reset name |
self.carrier:ClearAllPoints() |
self.carrier:SetPoint('BOTTOMLEFT', UIParent, 'BOTTOMLEFT', floor(x-(self.carrier:GetWidth()/2)), floor(y)) |
-- show the frame after it's been moved so it doesn't flash |
if self.carrier.DoShow then |
self.carrier:Show() |
self.carrier.DoShow = nil |
end |
end |
self.defaultAlpha = self:GetAlpha() |
------------------------------------------------------------------- Alpha -- |
--[[ |
local parent |
if profile.general.fixaa then |
frame.carrier = CreateFrame('Frame', nil, WorldFrame) |
frame.carrier:SetFrameStrata('BACKGROUND') |
frame.carrier:SetSize(frame:GetWidth()/uiscale, frame:GetHeight()/uiscale) |
frame.carrier:SetScale(uiscale) |
icon = 16 |
}, { |
combopoints = 13, |
large = 10, -- TODO this was 11, test at 10 |
large = 10, |
spellname = 9, |
name = 9, |
small = 8, |