resume position changed

This commit is contained in:
Manuel Simon Hirsig
2016-07-14 19:23:44 +02:00
parent ee5fcd01f5
commit 399cae9155
3 changed files with 14 additions and 16 deletions
+11 -11
View File
@@ -17,17 +17,6 @@ function Aux.search_frame.create_frames(private, public)
btn:SetScript('OnClick', private.next_search)
private.next_button = btn
end
do
local btn = Aux.gui.button(AuxSearchFrame, 22)
btn:SetPoint('TOPRIGHT', -5, -8)
btn:SetWidth(70)
btn:SetHeight(25)
btn:SetText(GREEN_FONT_COLOR_CODE..'Resume'..FONT_COLOR_CODE_CLOSE)
btn:SetScript('OnClick', function()
public.execute('resume')
end)
private.resume_button = btn
end
do
local btn = Aux.gui.button(AuxSearchFrame, 22)
btn:SetPoint('TOPRIGHT', -5, -8)
@@ -40,6 +29,17 @@ function Aux.search_frame.create_frames(private, public)
btn:Disable()
private.refresh_button = btn
end
do
local btn = Aux.gui.button(AuxSearchFrame, 22)
btn:SetPoint('RIGHT', private.refresh_button, 'LEFT', -4, 0)
btn:SetWidth(70)
btn:SetHeight(25)
btn:SetText(GREEN_FONT_COLOR_CODE..'Resume'..FONT_COLOR_CODE_CLOSE)
btn:SetScript('OnClick', function()
public.execute('resume')
end)
private.resume_button = btn
end
do
local editbox = Aux.gui.editbox(AuxSearchFrame)
editbox:SetMaxLetters(nil)