comparison ui/Ui.lua @ 161:35612aee8e15

Added junk list.
author yellowfive
date Mon, 06 May 2019 14:08:03 -0700
parents 57be71eccc0a
children eec8032ba9df
comparison
equal deleted inserted replaced
160:d670336e8c89 161:35612aee8e15
121 if content.obj.LayoutFinished then 121 if content.obj.LayoutFinished then
122 content.obj:LayoutFinished(nil, nil) 122 content.obj:LayoutFinished(nil, nil)
123 end 123 end
124 end) 124 end)
125 125
126
126 local _mainFrame = nil 127 local _mainFrame = nil
127 local _mainTabs = nil 128 local _mainTabs = nil
128 local _mainCover = nil 129 local _mainCover = nil
129 local _activeTab = "Export" 130 local _activeTab = "Export"
130 131
368 Amr:HideShopWindow() 369 Amr:HideShopWindow()
369 Amr.db.profile.options.uiScale = 1 370 Amr.db.profile.options.uiScale = 1
370 Amr.db.profile.window = {} 371 Amr.db.profile.window = {}
371 Amr.db.profile.lootWindow = {} 372 Amr.db.profile.lootWindow = {}
372 Amr.db.profile.shopWindow = {} 373 Amr.db.profile.shopWindow = {}
374 Amr.db.profile.junkWindow = {}
373 end 375 end
374 376
375 -- show the UI if not shown already, and select the specified tab 377 -- show the UI if not shown already, and select the specified tab
376 function Amr:ShowTab(tab) 378 function Amr:ShowTab(tab)
377 if not self:IsEnabled() then return end 379 if not self:IsEnabled() then return end