This commit is contained in:
Manuel Simon Hirsig
2016-02-01 02:44:29 +01:00
parent 3b2fba9b3f
commit 51e4f6970e
2 changed files with 12 additions and 8 deletions
+7 -3
View File
@@ -84,7 +84,11 @@ function Aux_OnLoad()
end)
end
Aux.item_search_frame.on_load()
AuxFrameContent:SetBackdrop({bgFile='Interface\\Buttons\\WHITE8X8', edgeFile='Interface\\Buttons\\WHITE8X8', edgeSize=Aux.gui.config.edge_size})
AuxFrameContent:SetBackdropColor(unpack(Aux.gui.config.content_color))
AuxFrameContent:SetBackdropBorderColor(unpack(Aux.gui.config.content_border_color))
-- Aux.item_search_frame.on_load()
Aux.filter_search_frame.on_load()
Aux.post_frame.on_load()
Aux.auctions_frame.on_load()
@@ -353,8 +357,8 @@ function Aux_ContainerFrameItemButton_OnClick(button)
end
Aux.control.as_soon_as(function() return Aux.active_panel == 1 end, function()
AuxItemSearchFrameItemItemInputBox:Hide()
Aux.item_search_frame.set_item(item_info.item_id)
-- AuxItemSearchFrameItemItemInputBox:Hide()
-- Aux.item_search_frame.set_item(item_info.item_id)
end)
return
+5 -5
View File
@@ -366,7 +366,7 @@ function public.on_load()
do
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
btn:SetPoint('TOPLEFT', 10, -49)
btn:SetWidth(250)
btn:SetWidth(246)
btn:SetHeight(22)
btn:SetText('Search Results')
btn:SetScript('OnClick', function() private.update_tab(RESULTS) end)
@@ -375,7 +375,7 @@ function public.on_load()
do
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
btn:SetPoint('TOPLEFT', private.search_results_button, 'TOPRIGHT', 5, 0)
btn:SetWidth(250)
btn:SetWidth(246)
btn:SetHeight(22)
btn:SetText('Saved Searches')
btn:SetScript('OnClick', function() private.update_tab(SAVED) end)
@@ -384,7 +384,7 @@ function public.on_load()
do
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
btn:SetPoint('TOPLEFT', private.saved_searches_button, 'TOPRIGHT', 5, 0)
btn:SetWidth(250)
btn:SetWidth(246)
btn:SetHeight(22)
btn:SetText('New Filter')
btn:SetScript('OnClick', function() private.update_tab(FILTER) end)
@@ -433,7 +433,7 @@ function public.on_load()
do
local status_bar = Aux.gui.status_bar(AuxFilterSearchFrame)
status_bar:SetWidth(265)
status_bar:SetHeight(30)
status_bar:SetHeight(26)
status_bar:SetPoint('BOTTOMLEFT', AuxFilterSearchFrame, 'BOTTOMLEFT', 6, 6)
status_bar:update_status(100, 0)
status_bar:set_text('')
@@ -942,9 +942,9 @@ function public.on_load()
private.testlisting = CreateAuctionResultsTable(AuxFilterSearchFrameResults)
-- private.testlisting:Clear()
private.testlisting:Show()
private.testlisting:SetSort(9)
private.testlisting:Clear()
private.testlisting:SetHandler('OnSelectionChanged', private.on_selection_changed)
end