View Single Post
05-29-23, 08:03 AM   #23
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,947
Ah yeah I saw the owner code and wondered how it might be used.

I'm working on 10.1.5 code at the moment so I can wait for now. And consider your option at a later date if needed.

What I did try however is something slightly different - but may not work in combat ( nui has combat tooltips as an option )

What I did was during the PLAYER_LOGIN I hooksecurefunc'd the buttons "SetTooltip" function and added my code there. It works .. however, it doesn't enlarge the tooltip frame to reflect the extra lines.

It's not too much of a major issue looking at what nUI does at the moment.

It has a keybind section on the button that shows the keybind to users .. For Example: csS to mean Ctrl-Shift and S for that keybind. The only thing that isn't available on the screen now is the key combo you use to activate the nUI keybind frame ( yes I know Blizzard has one now but nUI always had one ). I can always add a slash command to display the command on request if people forget. I might go that route rather than add more performance issues as nUI has enough with its almost 20 year old code base rofl.

Thanks for your help anyway. It was worth a try but I'll check back in another week to see whether they have done something useful in this area I can use.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote