name/id refactoring, menu refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-09 08:48:23 +02:00
parent 6107a253d6
commit d9abe01bab
4 changed files with 42 additions and 58 deletions
+2 -10
View File
@@ -65,8 +65,8 @@ end
function public.VARIABLES_LOADED()
do
local frame = CreateFrame('Frame', 'AuxFrame', UIParent)
tinsert(UISpecialFrames, 'AuxFrame')
local frame = CreateFrame('Frame', aux.gui.name(), UIParent)
tinsert(UISpecialFrames, 'aux_frame1')
m.gui.set_window_style(frame)
frame:SetWidth(768)
frame:SetHeight(447)
@@ -397,14 +397,6 @@ end
public.huge = 2^100000
do
local x = 0
function public.id()
x = x + 1
return x
end
end
function public.log(...)
local msg = '[aux]'
for i=1,arg.n do