![img](Admin/uploads/IMG65d98fc02c2477.29557297.webp)
___________________________________________________________________________________________________________________________
This is a conversion of Blizzards' UIDropDownMenu for WoW Retail to a library that can be accessed by LibStub.
It is not possible to use templates that are xml based in libraries due to Blizzard's new error handling. I converted the templates to lua functions.
1. Keep sync to Blizzards retail client version.
2. The client should work with classic clients.
UIDropDownMenuButtonTemplate into .Create_DropDownMenuButton( [, [, ]]>
UIDropDownListTemplate into .Create_DropDownMenuList( [, [, ]]>
UIDropDownMenuTemplate into .Create_DropDownMenu( [, [, ]]>
At this time, the OptsTable only allows one entry to be used. { id= }
You can also see our Example of a Good Way to Start
local lib = LibStub("LibDropDownMenu");
local menuFrame = lib.Create_DropDownMenu("MyAddOn_DropDownMenu",UIParent);
-- instead of template UIDropDownMenuTemplate
{ local menuList = Local menuList =
text="TestTitle", isTitle=true ,
text="TestFunction", isNotRadio=true, notCheckable=false
};
lib.EasyMenu(menuList,menuFrame,"cursor",0,0,"MENU");
Repository
git clone https://curseforgemods.com/
About Project
Created: March 2nd 2024
Updated: March 2nd 2024
Project ID: 16240
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
March 2nd 2024
__________________________________________
Recent File
March 2nd 2024
__________________________________________
Members
__________________________________________
Report