GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT"); GameTooltip:SetFrameLevel(self:GetFrameLevel() + 2); GameTooltip:SetUnitAura(PlayerFrame.unit, self:GetID(), self.filter);
GameTooltip:Hide();
BuffButton_OnLoad(self);
BuffButton_OnClick(self, button, down);
TempEnchantButton_OnLoad(self);
TempEnchantButton_OnUpdate(self, elapsed);
TempEnchantButton_OnClick(self, button, down);
TempEnchantButton_OnEnter(self, motion);
GameTooltip:Hide();
ConsolidatedBuffsIcon:SetTexture("Interface\\Buttons\\BuffConsolidation"); ConsolidatedBuffsIcon:SetTexCoord(0, 0.5, 0, 1); ConsolidatedBuffsIcon:ClearAllPoints(); ConsolidatedBuffsIcon:SetPoint("CENTER"); ConsolidatedBuffsIcon:SetWidth(64); ConsolidatedBuffsIcon:SetHeight(64);
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b); self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b); ConsolidatedBuffsContainer:SetScale(0.66);
self.mousedOver = true;
if ( self.mousedOver and not ConsolidatedBuffs.mousedOver and not self:IsMouseOver() ) then self.mousedOver = nil; self:Hide(); end
self.mousedOver = nil;