WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/PhanxConfig-ColorPicker
    from Rev 108 to Rev 122
    Reverse comparison

Rev 108 → Rev 122

PhanxConfig-ColorPicker.lua
80,7 → 80,7
end
end
 
function lib.CreateColorPicker(parent, name, desc, hasOpacity)
function lib:New(parent, name, desc, hasOpacity)
assert( type(parent) == "table" and parent.CreateFontString, "PhanxConfig-ColorPicker: Parent is not a valid frame!" )
if type(name) ~= "string" then name = nil end
if type(desc) ~= "string" then desc = nil end
135,4 → 135,6
end
 
return frame
end
\ No newline at end of file +end + +function lib.CreateColorPicker(...) return lib:New(...) end \ No newline at end of file