View Single Post
09-10-22, 08:15 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
BlizzardOptions - CreateFrame - patch 10.0.0 PTR

What changed with the creation of the CheckButton in patch 10.0 ?
OptionsCheckButtonTemplate no longer exists? What's in return?

function QTR_BlizzardOptions()
local QTRCheckButton0 = CreateFrame("CheckButton", "QTRCheckButton0", QTROptions, "OptionsCheckButtonTemplate");
QTRCheckButton0:SetPoint("TOPLEFT", QTROptionsHeader, "BOTTOMLEFT", 0, -20);
QTRCheckButton0:SetScript("OnClick", function(self) if (QTR_PS["active"]=="1") then QTR_PS["active"]="0" else QTR_PS["active"]="1" end; end);
QTRCheckButton0Text:SetFont(QTR_Font2, 13);
QTRCheckButton0Text:SetText(QTR_Interface.active);
end
  Reply With Quote