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