WoWInterface SVN NoTaint_UIDropDownMenu_Update

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

trunk/readme.txt
32,6 → 32,7
* Lib_UIDropDownMenu_CreateInfo
* Lib_UIDropDownMenu_CreateFrames
* Lib_UIDropDownMenu_AddButton
* Lib_UIDropDownMenu_AddSeparator
* Lib_UIDropDownMenu_Refresh
* Lib_UIDropDownMenu_RefreshAll
* Lib_UIDropDownMenu_SetIconImage
trunk/NoTaint_UIDropDownMenu.toc
1,7 → 1,7
## Interface: 70000
## Interface: 70100
## Title: Lib: NoTaint_UIDropDownMenu
## Notes: Replacement for standard UIDropDownMenu
## Version: 7.0.3.22248
## Version: 7.1.0.22908
## X-Category: Libraries
 
# ## Check out the following page for more details:
trunk/UIDropDownMenu.lua
245,6 → 245,33
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
1026,6 → 1053,9
end
Lib_CloseDropDownMenus(id+1);
LIB_OPEN_DROPDOWNMENUS[id] = nil;
if (id == 1) then
LIB_UIDROPDOWNMENU_OPEN_MENU = nil;
end
end
 
function Lib_UIDropDownMenu_SetWidth(frame, width, padding)