View Single Post
06-20-22, 08:52 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Doesn't seem to be in Backdrop.lua - 9.1.5 version here - https://github.com/Gethe/wow-ui-sour...L/Backdrop.lua

Nor in the GameTooltip.lua file from 9.2.5 - https://github.com/Gethe/wow-ui-sour...ameTooltip.lua


Looks like I will have to find another frame for my backdrops as I think I was using that for all my addons. And there I was hoping I wouldn't have to do anything until I got access to Dragonflight, seeing as there could be some hefty UI changes there based on the talk they streamed.


Yep, my Mage Portal addon needed adjusting - obviously no-one using it as have had no reports of problems in months. Anyway. I put this block of code in one of my lua files that loaded before the file needing access to it.

Lua Code:
  1. XRYSTAL_BACKDROP_TOOLTIP_16_16_5555 = {
  2.     bgFile = "Interface\Tooltips\UI-Tooltip-Background",
  3.     edgeFile = "Interface\Tooltips\UI-Tooltip-Border",
  4.     tile = true,
  5.     tileEdge = true,
  6.     tileSize = 16,
  7.     edgeSize = 16,
  8.     insets = { left = 5, right = 5, top = 5, bottom = 5 },
  9. };

This is the closest to what the addon original had before switching to the built in layout. Obviously being a public table in my case I had to give it a unique name. You could perhaps use a localised variable instead.
__________________


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

Last edited by Xrystal : 06-20-22 at 09:23 PM.
  Reply With Quote