Mercurial > wow > askmrrobot
comparison ui/AmrUiTextButton.lua @ 112:57c6cac5143c v52
7.3 update, preparation for reading crucible.
| author | yellowfive |
|---|---|
| date | Mon, 28 Aug 2017 19:33:14 -0700 |
| parents | 0515882856f1 |
| children | a0894ffebd15 |
comparison
equal
deleted
inserted
replaced
| 111:2f78f6c96183 | 112:57c6cac5143c |
|---|---|
| 19 --[[----------------------------------------------------------------------------- | 19 --[[----------------------------------------------------------------------------- |
| 20 Scripts | 20 Scripts |
| 21 -------------------------------------------------------------------------------]] | 21 -------------------------------------------------------------------------------]] |
| 22 local function buttonOnClick(frame, ...) | 22 local function buttonOnClick(frame, ...) |
| 23 AceGUI:ClearFocus() | 23 AceGUI:ClearFocus() |
| 24 PlaySound("igMainMenuOption") | 24 --PlaySound("igMainMenuOption") |
| 25 frame.obj:Fire("OnClick", ...) | 25 frame.obj:Fire("OnClick", ...) |
| 26 end | 26 end |
| 27 | 27 |
| 28 local function buttonOnEnter(frame) | 28 local function buttonOnEnter(frame) |
| 29 frame.obj.bg:Hide() | 29 frame.obj.bg:Hide() |
