this:SetClampedToScreen(true) this:SetClampedToScreen(true) this:SetClampedToScreen(true) VCB_BF_CONSOLIDATED_ICONIcon:SetTexture(nil) VCB_BF_CONSOLIDATED_ICONIcon:SetTexture("Interface\\AddOns\\VCB\\images\\"..VCB_SAVE["CF_icon_texture"].."_hover.tga") if (not VCB_BF_CF_FRAME:IsVisible()) and (not VCB_BF_CF_FRAME2:IsVisible()) and (VCB_BF_LOCKED) then VCB_BF_CONSOLIDATED_BUFFFRAME:Show() end VCB_BF_CONSOLIDATED_ICONIcon:SetTexture(nil) VCB_BF_CONSOLIDATED_ICONIcon:SetTexture("Interface\\AddOns\\VCB\\images\\"..VCB_SAVE["CF_icon_texture"]..".tga") if (not VCB_BF_CF_FRAME:IsVisible()) and (not VCB_BF_CF_FRAME2:IsVisible()) then VCB_BF_CONSOLIDATED_BUFFFRAME:Hide() end if (not VCB_BF_LOCKED) and VCB_IS_LOADED then if (not VCB_SAVE["CF_icon_attach"]) then this:StartMoving() else VCB_BF_BUFF_FRAME:StartMoving() end end if (not VCB_BF_LOCKED) and VCB_IS_LOADED then if (not VCB_SAVE["CF_icon_attach"]) then this:StopMovingOrSizing() else VCB_BF_BUFF_FRAME:StopMovingOrSizing() end end this:SetClampedToScreen(true) if (not VCB_BF_CF_FRAME:IsVisible()) and (not VCB_BF_CF_FRAME2:IsVisible()) and (VCB_BF_LOCKED) then this:Show() end if (not VCB_BF_CF_FRAME:IsVisible()) and (not VCB_BF_CF_FRAME2:IsVisible()) then this:Hide() end VCB_BF_OnLoad()