big refactoring
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module 'auctions_tab' import 'gui'
|
||||
|
||||
function create_frames()
|
||||
frame = CreateFrame('Frame', nil, frame)
|
||||
frame = CreateFrame('Frame', nil, aux_frame)
|
||||
frame:SetAllPoints()
|
||||
frame:SetScript('OnUpdate', on_update)
|
||||
frame:Hide()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
module 'bids_tab' import 'gui'
|
||||
|
||||
function create_frames()
|
||||
frame = CreateFrame('Frame', nil, frame)
|
||||
frame = CreateFrame('Frame', nil, aux_frame)
|
||||
frame:SetAllPoints()
|
||||
frame:SetScript('OnUpdate', on_update)
|
||||
frame:Hide()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
module 'post_tab' import 'gui'
|
||||
|
||||
function create_frames()
|
||||
frame = CreateFrame('Frame', nil, frame)
|
||||
frame = CreateFrame('Frame', nil, aux_frame)
|
||||
frame:SetAllPoints()
|
||||
frame:SetScript('OnUpdate', on_update)
|
||||
frame:Hide()
|
||||
|
||||
@@ -51,7 +51,6 @@ end
|
||||
RESULTS, SAVED, FILTER = 1, 2, 3
|
||||
|
||||
function LOAD()
|
||||
import 'core'
|
||||
create_frames()
|
||||
set_tab(SAVED)
|
||||
update_auto_buy_filter()
|
||||
|
||||
@@ -3,7 +3,7 @@ module 'search_tab' import 'gui'
|
||||
FILTER_SPACING = 28.5
|
||||
|
||||
function create_frames()
|
||||
frame = CreateFrame('Frame', nil, frame)
|
||||
frame = CreateFrame('Frame', nil, aux_frame)
|
||||
frame:SetAllPoints()
|
||||
frame:SetScript('OnUpdate', on_update)
|
||||
frame:Hide()
|
||||
|
||||
Reference in New Issue
Block a user