Mercurial > wow > askmrrobot
comparison Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua @ 124:e31b02b24488
Updated for 8.0 pre-patch and BfA.
| author | yellowfive |
|---|---|
| date | Tue, 17 Jul 2018 09:57:39 -0700 |
| parents | e635cd648e01 |
| children |
comparison
equal
deleted
inserted
replaced
| 123:7a6364917f86 | 124:e31b02b24488 |
|---|---|
| 19 OnClose | 19 OnClose |
| 20 | 20 |
| 21 ]] | 21 ]] |
| 22 do | 22 do |
| 23 local Type = "Window" | 23 local Type = "Window" |
| 24 local Version = 5 | 24 local Version = 6 |
| 25 | 25 |
| 26 local function frameOnShow(this) | 26 local function frameOnShow(this) |
| 27 this.obj:Fire("OnShow") | 27 this.obj:Fire("OnShow") |
| 28 end | 28 end |
| 29 | 29 |
| 30 local function frameOnClose(this) | 30 local function frameOnClose(this) |
| 31 this.obj:Fire("OnClose") | 31 this.obj:Fire("OnClose") |
| 32 end | 32 end |
| 33 | 33 |
| 34 local function closeOnClick(this) | 34 local function closeOnClick(this) |
| 35 PlaySound("gsTitleOptionExit") | 35 PlaySound(799) -- SOUNDKIT.GS_TITLE_OPTION_EXIT |
| 36 this.obj:Hide() | 36 this.obj:Hide() |
| 37 end | 37 end |
| 38 | 38 |
| 39 local function frameOnMouseDown(this) | 39 local function frameOnMouseDown(this) |
| 40 AceGUI:ClearFocus() | 40 AceGUI:ClearFocus() |
