end |
end |
|
function Lib_UIDropDownMenu_AddSeparator(info, level) |
info.text = nil; |
info.hasArrow = false; |
info.dist = 0; |
info.isTitle = true; |
info.isUninteractable = true; |
info.notCheckable = true; |
info.iconOnly = true; |
info.icon = "Interface\\Common\\UI-TooltipDivider-Transparent"; |
info.tCoordLeft = 0; |
info.tCoordRight = 1; |
info.tCoordTop = 0; |
info.tCoordBottom = 1; |
info.tSizeX = 0; |
info.tSizeY = 8; |
info.tFitDropDownSizeX = true; |
info.iconInfo = { tCoordLeft = info.tCoordLeft, |
tCoordRight = info.tCoordRight, |
tCoordTop = info.tCoordTop, |
tCoordBottom = info.tCoordBottom, |
tSizeX = info.tSizeX, |
tSizeY = info.tSizeY, |
tFitDropDownSizeX = info.tFitDropDownSizeX }; |
|
Lib_UIDropDownMenu_AddButton(info, level); |
end |
|
function Lib_UIDropDownMenu_AddButton(info, level) |
--[[ |
Might to uncomment this if there are performance issues |