Tooltip Types...
Been looking around with not a lot of luck... Could someone point me in the right direction for the implementation/usage of the Item Tooltips ? Either adding to them or creating them... Been reading the UESP code, and just not sure what to make of it really...lol ;)
|
Quote:
http://www.esoui.com/downloads/info951-CritPercent.html http://www.esoui.com/downloads/info4...tandStyle.html All the functions, hooked there, can be used to fill your custom tooltip. e.g. ItemTooltip:SetLink(itemLink) or PopupTooltip:SetLink(itemLink) Setting up controls to show tooltip: http://www.esoui.com/downloads/info405-PotionMaker.html :rolleyes: Showing: Code:
InitializeTooltip(<AnyTooltip>, <owner/anchor parent control>, TOPLEFT, 10, -96, TOPRIGHT) Code:
ClearTooltip(<SameTooltip as above>) Code:
control:SetHandler("OnMouseEnter", function(sender) InitializeTooltip(ItemTooltip, sender, TOPRIGHT, -10, -96, TOPLEFT) If you hide a window via key-bind, the mouse does not always exit the control. Calling ClearTooltip at the end of interaction or scene change can prevent the tooltip is hanging around on screen. My typically helper functions: Lua Code:
Is it, what you looking for? |
Yeah It is, partially! Thank you! So if the different types are called the same way, I'm assuming then that an iconFile can be used as well? I was wanting to show icon and amount on mouse-over, to save space...figured it had to be an Item tooltip for that to work..
|
Quote:
Lua Code:
|
All times are GMT -6. The time now is 11:44 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI