scan refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-25 18:15:50 +02:00
parent c533f8dae8
commit 8d9f6ce64d
3 changed files with 16 additions and 17 deletions
+5 -5
View File
@@ -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