scan refactoring
This commit is contained in:
@@ -8,7 +8,7 @@ private.search_scan_id = 0
|
||||
private.auto_buy_validator = nil
|
||||
|
||||
StaticPopupDialogs['AUX_SEARCH_TABLE_FULL'] = {
|
||||
text = 'Table full!\nFurther results from this search will not be displayed.',
|
||||
text = 'Table full!\nFurther results from this search will still be processed but no longer displayed in the table.',
|
||||
button1 = 'Ok',
|
||||
showAlert = 1,
|
||||
timeout = 0,
|
||||
@@ -109,7 +109,6 @@ function private.update_search_listings()
|
||||
cols = {{value=name}},
|
||||
search = favorite_search,
|
||||
index = i,
|
||||
name = name,
|
||||
})
|
||||
end
|
||||
m.favorite_searches_listing:SetData(favorite_search_rows)
|
||||
@@ -121,7 +120,6 @@ function private.update_search_listings()
|
||||
cols = {{value=name}},
|
||||
search = recent_search,
|
||||
index = i,
|
||||
name = name,
|
||||
})
|
||||
end
|
||||
m.recent_searches_listing:SetData(recent_search_rows)
|
||||
|
||||
@@ -112,7 +112,7 @@ Aux.search_tab.FRAMES(function(m, public, private)
|
||||
local btn = Aux.gui.button(m.settings, 16)
|
||||
btn:SetBackdropColor(unpack(Aux.gui.config.frame_color))
|
||||
btn:SetPoint('LEFT', 240, 0)
|
||||
btn:SetWidth(120)
|
||||
btn:SetWidth(140)
|
||||
btn:SetHeight(25)
|
||||
btn:SetText('Real Time Mode')
|
||||
btn:SetBackdropColor(0.7, 0.3, 0.3)
|
||||
@@ -137,9 +137,9 @@ Aux.search_tab.FRAMES(function(m, public, private)
|
||||
local btn = Aux.gui.button(m.settings, 16)
|
||||
btn:SetBackdropColor(unpack(Aux.gui.config.frame_color))
|
||||
btn:SetPoint('LEFT', m.real_time_button, 'RIGHT', 30, 0)
|
||||
btn:SetWidth(120)
|
||||
btn:SetWidth(140)
|
||||
btn:SetHeight(25)
|
||||
btn:SetText('Auto Buy Mode')
|
||||
btn:SetText('Auto Buyout Mode')
|
||||
btn:SetBackdropColor(0.7, 0.3, 0.3)
|
||||
btn:SetScript('OnClick', function()
|
||||
if this.on then
|
||||
@@ -155,9 +155,9 @@ Aux.search_tab.FRAMES(function(m, public, private)
|
||||
local btn = Aux.gui.button(m.settings, 16)
|
||||
btn:SetBackdropColor(unpack(Aux.gui.config.frame_color))
|
||||
btn:SetPoint('LEFT', m.auto_buy_button, 'RIGHT', 30, 0)
|
||||
btn:SetWidth(120)
|
||||
btn:SetWidth(140)
|
||||
btn:SetHeight(25)
|
||||
btn:SetText('Auto Buy Filter')
|
||||
btn:SetText('Auto Buyout Filter')
|
||||
btn:SetBackdropColor(0.7, 0.3, 0.3)
|
||||
btn:SetScript('OnClick', function()
|
||||
if this.on then
|
||||
|
||||
Reference in New Issue
Block a user