Make => New
This commit is contained in:
parent
a70f5a93a1
commit
84cbfd42da
|
@ -12,7 +12,7 @@ local NUMROWS = 14
|
|||
function ns.NewMainFrame()
|
||||
local GVS = CreateFrame("frame", nil, MerchantBuyBackItem)
|
||||
|
||||
local search = ns.MakeSearchField(GVS)
|
||||
local search = ns.NewSearchField(GVS)
|
||||
|
||||
local rows = {}
|
||||
for i=1,NUMROWS do
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
local myname, ns = ...
|
||||
|
||||
|
||||
function ns.MakeSearchField(parent)
|
||||
function ns.NewSearchField(parent)
|
||||
local editbox = ns.NewTextInput(parent)
|
||||
editbox:SetPoint("BOTTOMLEFT", parent, "TOPLEFT", 55, 9)
|
||||
|
||||
|
@ -26,7 +26,5 @@ function ns.MakeSearchField(parent)
|
|||
editbox:SetScript("OnLeave", GameTooltip_Hide)
|
||||
editbox:SetScript("OnShow", function(self) self:SetText("") end)
|
||||
|
||||
ns.MakeSearchField = nil
|
||||
|
||||
return editbox
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue