WoWInterface SVN zzcommon

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 103 to Rev 104
    Reverse comparison

Rev 103 → Rev 104

trunk/LibCommon/config.lua
1,6 → 1,6
local name, addon = ...
 
local embed = addon['LibInit']("zzCommon-Conf", 9, {'AddConfigMenu','AddConfigEntry','InitConfig'})
local embed = addon['LibInit']("zzCommon-Conf", 10, {'AddConfigMenu','AddConfigEntry','InitConfig'})
if(type(embed) ~= 'function') then return end
 
local function getPref(pref)
128,6 → 128,15
menu['args'][entryName]['hasAlpha'] = true
elseif(select(1,...) == 'select') then
menu['args'][entryName]['values'] = select(6,...)
elseif(select(1,...) == 'group') then
menu['args'][entryName]['inline'] = select(6,...)
menu['args'][entryName]['args'] = {
['description'] = {
['name'] = select(4,...),
['type'] = 'header',
['order'] = 0
}
}
end
end
end