Mercurial > wow > pvpscan
diff Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua @ 18:a0dcdcaec1ea v7.3.0.018
- toc update.
- libs update.
| author | Tercio |
|---|---|
| date | Tue, 17 Oct 2017 10:02:01 -0200 |
| parents | ce416064d8a1 |
| children |
line wrap: on
line diff
--- a/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua Thu Jun 01 11:19:42 2017 -0300 +++ b/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua Tue Oct 17 10:02:01 2017 -0200 @@ -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)
