more progress on the new filter tab

This commit is contained in:
Manuel Simon Hirsig
2016-01-30 13:12:32 +01:00
parent 53935e9363
commit 5fb208f5ae
10 changed files with 326 additions and 234 deletions
+18 -16
View File
@@ -62,22 +62,6 @@ function Aux_OnLoad()
tab_group.on_select = Aux.on_tab_click
Aux.tab_group = tab_group
end
do
local btn = Aux.gui.button(AuxFrame, 12)
btn:SetPoint('TOPRIGHT', 0, 0)
btn:SetWidth(60)
btn:SetHeight(17)
btn:SetText('Default UI')
btn:SetScript('OnClick',function()
if AuctionFrame:IsVisible() then
Aux.blizzard_ui_shown = false
HideUIPanel(AuctionFrame)
else
Aux.blizzard_ui_shown = true
ShowUIPanel(AuctionFrame)
end
end)
end
do
local btn = Aux.gui.button(AuxFrame, 16)
@@ -88,6 +72,24 @@ function Aux_OnLoad()
btn:SetScript('OnClick',function()
HideUIPanel(this:GetParent())
end)
Aux.close_button = btn
end
do
local btn = Aux.gui.button(AuxFrame, 16)
btn:SetPoint('RIGHT', Aux.close_button, 'LEFT' , -5, 0)
btn:SetWidth(65)
btn:SetHeight(24)
btn:SetText('Default UI')
btn:SetScript('OnClick',function()
if AuctionFrame:IsVisible() then
Aux.blizzard_ui_shown = false
HideUIPanel(AuctionFrame)
else
Aux.blizzard_ui_shown = true
ShowUIPanel(AuctionFrame)
end
end)
end
Aux.item_search_frame.on_load()