if ( self:GetChecked() ) then PlaySound("igMainMenuOptionCheckBoxOn"); else PlaySound("igMainMenuOptionCheckBoxOff"); end BlizzardOptionsPanel_CheckButton_OnClick(self); if ( self.tooltipText ) then GameTooltip:SetOwner(self, self.tooltipOwnerPoint or "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if ( self.tooltipRequirement ) then GameTooltip:AddLine(self.tooltipRequirement, 1.0, 1.0, 1.0, 1.0); GameTooltip:Show(); end GameTooltip:Hide(); if ( self:IsEnabled() ) then if ( self.tooltipText ) then GameTooltip:SetOwner(self, self.tooltipOwnerPoint or "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if ( self.tooltipRequirement ) then GameTooltip:AddLine(self.tooltipRequirement, 1.0, 1.0, 1.0, 1.0); GameTooltip:Show(); end end GameTooltip:Hide(); self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.5, 0.5, 0.5);