Atr_ShowOptionTooltip(this); GameTooltip:Hide(); Atr_ShowOptionTooltip(this:GetParent()); GameTooltip:Hide(); Atr_Option_OnClick (this); this:SetBackdropColor(0.2, 0.2, 0.2); this.TimeSinceLastUpdate = 0; Atr_LoadOptionsSubPanel (this, ZT("Basic Options")); Atr_BasicOptionsUpdate (this, arg1); AuctionatorOption_Enable_Alt_CB_Text:SetText (ZT("Enable alt-key shortcut")); AuctionatorOption_Open_All_Bags_CB_Text:SetText (ZT("Automatically open all bags")); AuctionatorOption_Show_StartingPrice_CB_Text:SetText (ZT("Show Starting Price on the Sell Tab")); AuctionatorOption_Def_Duration_CB_Text:SetText (ZT("Set a default duration")); getglobal(this:GetName().."Text"):SetText(AtrNS.durationText[1]); Atr_SetDurationOptionRB (this:GetName()); getglobal(this:GetName().."Text"):SetText(AtrNS.durationText[2]); Atr_SetDurationOptionRB (this:GetName()); getglobal(this:GetName().."Text"):SetText(AtrNS.durationText[3]); Atr_SetDurationOptionRB (this:GetName()); Atr_ShowOptionTooltip(this); GameTooltip:Hide(); UIDropDownMenu_Initialize(this, AuctionatorOption_Deftab_Initialize); UIDropDownMenu_JustifyText ("LEFT", AuctionatorOption_Deftab); Atr_LoadOptionsSubPanel (this, ZT("Tooltips")); ATR_tipsVendorOpt_CB_Text:SetText (ZT("Show vendor prices in tooltips")); ATR_tipsAuctionOpt_CB_Text:SetText (ZT("Show auction house prices in tooltips")); ATR_tipsDisenchantOpt_CB_Text:SetText (ZT("Show disenchant prices in tooltips")); UIDropDownMenu_Initialize(this, Atr_tipsShiftDD_Initialize); UIDropDownMenu_SetSelectedValue(Atr_tipsShiftDD, 1); UIDropDownMenu_JustifyText ("LEFT", Atr_tipsShiftDD); UIDropDownMenu_Initialize(this, Atr_deDetailsDD_Initialize); UIDropDownMenu_SetWidth (175, Atr_deDetailsDD); UIDropDownMenu_JustifyText ("LEFT", Atr_deDetailsDD); UIDropDownMenu_SetSelectedValue(Atr_deDetailsDD, 1); Atr_LoadOptionsSubPanel (this, ZT("Undercutting")); Atr_LoadOptionsSubPanel (this, ZT("Selling"), nil, ZT("Configure how you typically like to sell the items listed below.")); FauxScrollFrame_OnVerticalScroll(16, Atr_StackingList_Display); HideInterfaceOptionsMask() Atr_SONumStacks_OnLoad(this); Atr_LoadOptionsSubPanel (this, ZT("Scanning")); Atr_scanLevelDD_showTip(this); GameTooltip:Hide(); UIDropDownMenu_Initialize(this, Atr_scanLevelDD_Initialize); UIDropDownMenu_SetSelectedValue(Atr_scanLevelDD, 1); UIDropDownMenu_JustifyText ("LEFT", Atr_scanLevelDD); Atr_scanLevelDD_showTip(this); GameTooltip:Hide(); Atr_LoadOptionsSubPanel (this, ZT("About"), ZT("About Auctionator"));