backup
This commit is contained in:
@@ -84,7 +84,11 @@ function Aux_OnLoad()
|
|||||||
end)
|
end)
|
||||||
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.filter_search_frame.on_load()
|
||||||
Aux.post_frame.on_load()
|
Aux.post_frame.on_load()
|
||||||
Aux.auctions_frame.on_load()
|
Aux.auctions_frame.on_load()
|
||||||
@@ -353,8 +357,8 @@ function Aux_ContainerFrameItemButton_OnClick(button)
|
|||||||
end
|
end
|
||||||
|
|
||||||
Aux.control.as_soon_as(function() return Aux.active_panel == 1 end, function()
|
Aux.control.as_soon_as(function() return Aux.active_panel == 1 end, function()
|
||||||
AuxItemSearchFrameItemItemInputBox:Hide()
|
-- AuxItemSearchFrameItemItemInputBox:Hide()
|
||||||
Aux.item_search_frame.set_item(item_info.item_id)
|
-- Aux.item_search_frame.set_item(item_info.item_id)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ function public.on_load()
|
|||||||
do
|
do
|
||||||
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
||||||
btn:SetPoint('TOPLEFT', 10, -49)
|
btn:SetPoint('TOPLEFT', 10, -49)
|
||||||
btn:SetWidth(250)
|
btn:SetWidth(246)
|
||||||
btn:SetHeight(22)
|
btn:SetHeight(22)
|
||||||
btn:SetText('Search Results')
|
btn:SetText('Search Results')
|
||||||
btn:SetScript('OnClick', function() private.update_tab(RESULTS) end)
|
btn:SetScript('OnClick', function() private.update_tab(RESULTS) end)
|
||||||
@@ -375,7 +375,7 @@ function public.on_load()
|
|||||||
do
|
do
|
||||||
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
||||||
btn:SetPoint('TOPLEFT', private.search_results_button, 'TOPRIGHT', 5, 0)
|
btn:SetPoint('TOPLEFT', private.search_results_button, 'TOPRIGHT', 5, 0)
|
||||||
btn:SetWidth(250)
|
btn:SetWidth(246)
|
||||||
btn:SetHeight(22)
|
btn:SetHeight(22)
|
||||||
btn:SetText('Saved Searches')
|
btn:SetText('Saved Searches')
|
||||||
btn:SetScript('OnClick', function() private.update_tab(SAVED) end)
|
btn:SetScript('OnClick', function() private.update_tab(SAVED) end)
|
||||||
@@ -384,7 +384,7 @@ function public.on_load()
|
|||||||
do
|
do
|
||||||
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
local btn = Aux.gui.button(AuxFilterSearchFrame, 18)
|
||||||
btn:SetPoint('TOPLEFT', private.saved_searches_button, 'TOPRIGHT', 5, 0)
|
btn:SetPoint('TOPLEFT', private.saved_searches_button, 'TOPRIGHT', 5, 0)
|
||||||
btn:SetWidth(250)
|
btn:SetWidth(246)
|
||||||
btn:SetHeight(22)
|
btn:SetHeight(22)
|
||||||
btn:SetText('New Filter')
|
btn:SetText('New Filter')
|
||||||
btn:SetScript('OnClick', function() private.update_tab(FILTER) end)
|
btn:SetScript('OnClick', function() private.update_tab(FILTER) end)
|
||||||
@@ -433,7 +433,7 @@ function public.on_load()
|
|||||||
do
|
do
|
||||||
local status_bar = Aux.gui.status_bar(AuxFilterSearchFrame)
|
local status_bar = Aux.gui.status_bar(AuxFilterSearchFrame)
|
||||||
status_bar:SetWidth(265)
|
status_bar:SetWidth(265)
|
||||||
status_bar:SetHeight(30)
|
status_bar:SetHeight(26)
|
||||||
status_bar:SetPoint('BOTTOMLEFT', AuxFilterSearchFrame, 'BOTTOMLEFT', 6, 6)
|
status_bar:SetPoint('BOTTOMLEFT', AuxFilterSearchFrame, 'BOTTOMLEFT', 6, 6)
|
||||||
status_bar:update_status(100, 0)
|
status_bar:update_status(100, 0)
|
||||||
status_bar:set_text('')
|
status_bar:set_text('')
|
||||||
@@ -942,9 +942,9 @@ function public.on_load()
|
|||||||
|
|
||||||
|
|
||||||
private.testlisting = CreateAuctionResultsTable(AuxFilterSearchFrameResults)
|
private.testlisting = CreateAuctionResultsTable(AuxFilterSearchFrameResults)
|
||||||
-- private.testlisting:Clear()
|
|
||||||
private.testlisting:Show()
|
private.testlisting:Show()
|
||||||
private.testlisting:SetSort(9)
|
private.testlisting:SetSort(9)
|
||||||
|
private.testlisting:Clear()
|
||||||
private.testlisting:SetHandler('OnSelectionChanged', private.on_selection_changed)
|
private.testlisting:SetHandler('OnSelectionChanged', private.on_selection_changed)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user