self:SetFrameLevel(self:GetFrameLevel() + 4);
PanelTemplates_TabResize(self, 0); _G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 30);
self:SetBackdropBorderColor(.6, .6, .6, .6); ScrollFrame_OnLoad(self);
FauxScrollFrame_OnVerticalScroll(self, offset, self:GetParent().buttonHeight, OptionsListScroll_Update);
self:GetParent():SetVerticalScroll(value);
OptionsList_OnLoad(self);
self:GetParent().toggle = self; self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
PlaySound("igMainMenuOptionCheckBoxOn"); OptionsListButtonToggle_OnClick(self);
OptionsListButton_OnLoad(self);
PlaySound("igMainMenuOptionCheckBoxOn"); OptionsListButton_OnClick(self, button);
--self.labelText = CATEGORY; OptionsList_OnLoad(self); self.update = OptionsCategoryFrame_Update; self.toggleSubCategories = OptionsFrame_ToggleSubCategories;
self:SetBackdropBorderColor(.6, .6, .6, 1);
OptionsFrame_OnLoad(self);
OptionsFrame_OnShow(self);
OptionsFrame_OnHide(self);