this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
this:Hide();
L_UIDropDownMenu_StopCounting(this, arg1);
L_UIDropDownMenu_StartCounting(this, arg1);
L_UIDropDownMenu_OnUpdate(this, arg1);
for i=1, L_UIDROPDOWNMENU_MAXBUTTONS do
if (not this.noResize) then
getglobal(this:GetName().."Button"..i):SetWidth(this.maxWidth);
end
end
if (not this.noResize) then
this:SetWidth(this.maxWidth+25);
end
this.showTimer = nil;
if ( this:GetID() > 1 ) then
this.parent = getglobal("L_DropDownList"..(this:GetID() - 1));
end
L_UIDropDownMenu_OnHide(this);
local parent = this:GetParent();
local myscript = parent:GetScript("OnEnter");
if(myscript ~= nil) then
myscript(parent);
end
local parent = this:GetParent();
local myscript = parent:GetScript("OnLeave");
if(myscript ~= nil) then
myscript(parent);
end
L_ToggleDropDownMenu(nil, nil, this:GetParent());
PlaySound(PlaySoundKitID and "igMainMenuOptionCheckBoxOn" or SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);
L_CloseDropDownMenus();