Mercurial > wow > hotcorners
diff Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua @ 17:3000eccbf1a0 v7.3.0.017
- ToC Update.
author | Tercio |
---|---|
date | Sat, 02 Sep 2017 14:10:48 -0300 |
parents | fc346da3afd9 |
children |
line wrap: on
line diff
--- a/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua Tue Mar 28 19:37:34 2017 -0300 +++ b/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua Sat Sep 02 14:10:48 2017 -0300 @@ -21,14 +21,18 @@ ]] do local Type = "Window" - local Version = 4 + local Version = 6 + + local function frameOnShow(this) + this.obj:Fire("OnShow") + end local function frameOnClose(this) this.obj:Fire("OnClose") end local function closeOnClick(this) - PlaySound("gsTitleOptionExit") + PlaySound(799) -- SOUNDKIT.GS_TITLE_OPTION_EXIT this.obj:Hide() end @@ -180,6 +184,7 @@ frame:SetFrameStrata("FULLSCREEN_DIALOG") frame:SetScript("OnMouseDown", frameOnMouseDown) + frame:SetScript("OnShow",frameOnShow) frame:SetScript("OnHide",frameOnClose) frame:SetMinResize(240,240) frame:SetToplevel(true)