module refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-23 09:07:56 +02:00
parent 1344ae0d23
commit 240589eef1
32 changed files with 525 additions and 499 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ do
public.aux_frame = frame
end
do
tabs = gui.tabs(aux_frame, 'DOWN')
private.tabs = gui.tabs(aux_frame, 'DOWN')
tabs._on_select = on_tab_click
function public.tab.set(id) tabs:select(id) end
end
@@ -35,7 +35,7 @@ do
btn:SetPoint('BOTTOMRIGHT', -5, 5)
gui.set_size(btn, 60, 24)
btn:SetText('Close')
btn:SetScript('OnClick', partial(aux_frame.Hide, aux_frame))
btn:SetScript('OnClick', papply(aux_frame.Hide, aux_frame))
public.close_button = btn
end
do