WoWInterface SVN PhanxConfigWidgets

Compare Revisions

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

Rev 47 → Rev 58

PhanxConfig-EditBox.lua
95,6 → 95,11
end
 
function lib.CreateEditBox( parent, name, desc, maxLetters )
assert( type(parent) == "table" and parent.GetFrameType, "PhanxConfig-EditBox: Parent is not a valid frame!" )
if type(name) ~= "string" then name = nil end
if type(desc) ~= "string" then desc = nil end
if type(maxLetters) ~= "number" then maxLetters = nil end
 
local frame = CreateFrame( "Frame", nil, parent )
frame:SetWidth( 144 )
frame:SetHeight( 42 )