Mercurial > wow > ouroloot
comparison gui.lua @ 27:68d7b903ee17
Drycoded revision check/popup.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Sun, 09 Oct 2011 01:02:27 +0000 |
| parents | f866daadcdf6 |
| children | a7376e6de73c |
comparison
equal
deleted
inserted
replaced
| 26:f866daadcdf6 | 27:68d7b903ee17 |
|---|---|
| 2125 addon:Print("All loot prior to the most recent entries has been erased.") | 2125 addon:Print("All loot prior to the most recent entries has been erased.") |
| 2126 addon:redisplay() | 2126 addon:redisplay() |
| 2127 end, | 2127 end, |
| 2128 } | 2128 } |
| 2129 | 2129 |
| 2130 StaticPopupDialogs["OUROL_URL"] = { --flib.StaticPopup{ | |
| 2131 text = "Use Control-C or equivalent to copy this URL to your system clipboard:", | |
| 2132 button1 = OKAY, | |
| 2133 timeout = 0, | |
| 2134 whileDead = true, | |
| 2135 hideOnEscape = true, | |
| 2136 enterClicksFirstButton = true, | |
| 2137 hasEditBox = true, | |
| 2138 editBoxWidth = 350, | |
| 2139 OnShow = function (dialog, url) | |
| 2140 dialog.editBox:SetText(url) | |
| 2141 dialog.editBox:SetFocus() | |
| 2142 dialog.editBox:HighlightText() | |
| 2143 end, | |
| 2144 } | |
| 2145 | |
| 2130 StaticPopupDialogs["OUROL_REMIND"] = flib.StaticPopup{ | 2146 StaticPopupDialogs["OUROL_REMIND"] = flib.StaticPopup{ |
| 2131 text = "Do you wish to activate Ouro Loot?\n\n(Hit the Escape key to close this window without clicking)", | 2147 text = "Do you wish to activate Ouro Loot?\n\n(Hit the Escape key to close this window without clicking)", |
| 2132 button1 = "Activate recording", -- "accept", left | 2148 button1 = "Activate recording", -- "accept", left |
| 2133 button3 = "Broadcast only", -- "alt", middle | 2149 button3 = "Broadcast only", -- "alt", middle |
| 2134 button2 = "Help", -- "cancel", right | 2150 button2 = "Help", -- "cancel", right |
