Mercurial > wow > itemauditor
comparison Modules/DisplayInvested.lua @ 38:e27d13095b49
Added the ability to suspend and resume ItemAuditor (Ticket #8). To access this feature use "/ia suspend".
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Sun, 18 Jul 2010 22:46:35 -0700 |
| parents | aaa716c93fb2 |
| children | 60ab9a4d2de1 |
comparison
equal
deleted
inserted
replaced
| 37:9bd18fce8498 | 38:e27d13095b49 |
|---|---|
| 63 price = investedTotal | 63 price = investedTotal |
| 64 end | 64 end |
| 65 | 65 |
| 66 if not promptFrame then | 66 if not promptFrame then |
| 67 promptFrame = AceGUI:Create("Frame") | 67 promptFrame = AceGUI:Create("Frame") |
| 68 ItemAuditor:RegisterFrame(promptFrame) | |
| 68 | 69 |
| 69 local window = promptFrame.frame; | 70 local window = promptFrame.frame; |
| 70 local width = 345 | 71 local width = 345 |
| 71 local height = 115 | 72 local height = 115 |
| 72 window:SetWidth(width ) | 73 window:SetWidth(width ) |
| 187 displayFrame = false | 188 displayFrame = false |
| 188 local function CreateFrames() | 189 local function CreateFrames() |
| 189 if not displayFrame then | 190 if not displayFrame then |
| 190 -- Create the frame container | 191 -- Create the frame container |
| 191 displayFrame = AceGUI:Create("Frame") | 192 displayFrame = AceGUI:Create("Frame") |
| 193 ItemAuditor:RegisterFrame(displayFrame) | |
| 192 local window = displayFrame.frame; | 194 local window = displayFrame.frame; |
| 193 displayFrame:SetTitle("ItemAuditor") | 195 displayFrame:SetTitle("ItemAuditor") |
| 194 displayFrame:SetStatusText("") | 196 displayFrame:SetStatusText("") |
| 195 | 197 |
| 196 displayFrame:SetLayout("Fill") | 198 displayFrame:SetLayout("Fill") |
