WoWInterface SVN PhanxConfigWidgets

Compare Revisions

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

Rev 46 → Rev 58

PhanxConfig-Button.lua
26,6 → 26,10
end
 
function lib.CreateButton( parent, name, desc )
assert( type(parent) == "table" and parent.GetFrameType, "PhanxConfig-Button: Parent is not a valid frame!" )
if type(name) ~= "string" then name = nil end
if type(desc) ~= "string" then desc = nil end
 
local button = CreateFrame( "Button", nil, parent )
 
button:SetNormalFontObject( GameFontNormalSmall )