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
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.15.8',
version = '2.15.9',
blizzard_ui_shown = false,
orig = {},
}
+2 -4
View File
@@ -428,14 +428,12 @@ end
function private.enable_resume()
private.resume_button:Show()
private.refresh_button:ClearAllPoints()
private.refresh_button:SetPoint('RIGHT', private.resume_button, 'LEFT', -4, 0)
private.search_box:SetPoint('RIGHT', private.resume_button, 'LEFT', -4, 0)
end
function private.disable_resume()
private.resume_button:Hide()
private.refresh_button:ClearAllPoints()
private.refresh_button:SetPoint('TOPRIGHT', -5, -8)
private.search_box:SetPoint('RIGHT', private.refresh_button, 'LEFT', -4, 0)
end
do
+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)