OptionsCheckbox_OnClick(this) OptionsRow_Hover(this:GetParent(), 1) OptionsRow_Hover(this:GetParent(), nil) OptionsRow_Hover(this, 1) OptionsRow_Hover(this, nil) OptionsSlider_OnValueChanged(this, arg1) OptionsRow_Hover(this:GetParent():GetParent(), 1) OptionsRow_Hover(this:GetParent():GetParent(), nil) OptionsRow_Hover(this, 1) OptionsRow_Hover(this, nil) this:SetBackdropColor(0, 0, 0, 0) this:SetBackdropBorderColor(0.6, 0.6, 0.6) this:SetBackdropColor(0, 0, 0, 0) this:SetBackdropBorderColor(0.6, 0.6, 0.6) getglobal(self:GetName() .. "Label"):SetText("Gameplay") getglobal(self:GetName() .. "Label"):SetText("System") OptionsRow_OnLoad(self, "deselectOnClick", "Sticky Targeting") self.invert = 1 OptionsRow_OnLoad(self, "autoLootDefault", "Auto Loot") OptionsRow_OnLoad(self, "mouseInvertPitch", "Invert Mouse") OptionsRow_OnLoad(self, "MasterSoundEffects", "Enable All Sound") self.soundQuirk = 1 OptionsRow_OnLoad(self, "MasterVolume", "Master Volume") OptionsRow_OnLoad(self, "SoundVolume", "Sound Volume", 1) -- era parentInitializer (search pulls Master in -- above a matched child, SettingsPanel.lua l.665) self.parentRow = "RowMaster" OptionsRow_OnLoad(self, "MusicVolume", "Music Volume", 1) self.parentRow = "RowMaster" OptionsRow_OnLoad(self, "AmbienceVolume", "Ambience Volume", 1) self.parentRow = "RowMaster" OptionsRow_OnLoad(self, "EnableMusic", "Enable Music") self.soundQuirk = 1 OptionsRow_OnLoad(self, "EnableAmbience", "Enable Ambience") self.soundQuirk = 1 OptionsRow_OnLoad(self, "uiScale", "UI Scale") OptionsSliderRow_Setup(self, 0.64, 1.0, 0.01) -- era registers its uiscale row CommitFlag.Apply -- (Graphics.lua l.684): the one row whose live -- write would rescale the very slider mid-drag — -- it stages and commits through the Apply button. self.deferred = 1 if this:GetText() == "" then OptionsFrameSearchBoxInstructions:Show() OptionsFrameSearchBoxClearButton:Hide() else OptionsFrameSearchBoxInstructions:Hide() OptionsFrameSearchBoxClearButton:Show() end OptionsSearch_OnTextChanged(this:GetText()) this:ClearFocus() OptionsFrame_UpdateScale() OptionsFrame_SelectCategory(this.selectedCategory or "Controls") OptionsFrameSearchBox:SetText("") OptionsPage_DiscardPending()