WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/PhanxConfig-EditBox
    from Rev 103 to Rev 118
    Reverse comparison

Rev 103 → Rev 118

PhanxConfig-EditBox.lua
98,7 → 98,7
return self.editbox:SetText( text )
end
 
function lib.CreateEditBox( parent, name, desc, maxLetters )
function lib:New( parent, name, desc, maxLetters )
assert( type(parent) == "table" and parent.CreateFontString, "PhanxConfig-EditBox: Parent is not a valid frame!" )
if type(name) ~= "string" then name = nil end
if type(desc) ~= "string" then desc = nil end
164,4 → 164,6
frame.SetText = SetText
 
return frame
end
\ No newline at end of file +end + +function lib.CreateEditBox( ... ) return lib:New( ... ) end \ No newline at end of file