View Single Post
11-22-20, 05:07 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
This is an xml file for one of my frames and shows what I had and what I changed it to. It should help you see what you need to change.

Lua Code:
  1. <Frame name = "XMP_BackdropTemplate" inherits = "BackdropTemplate" virtual = "true">
  2.  
  3. vvvvv New Code
  4.     <KeyValues>
  5.         <KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
  6.         <KeyValue key="backdropColor" value="BLACK" type="global"/>
  7.         <KeyValue key="backdropBorderColor" value="WHITE" type="global"/>
  8.     </KeyValues>
  9. ^^^^        
  10.  
  11. vvvv Old Code
  12.         <!--Backdrop
  13.             bgFile="Interface\Tooltips\UI-Tooltip-Background.png"
  14.             edgeFile="Interface\Tooltips\UI-Tooltip-Border.png"
  15.             tile="true" >
  16.             <EdgeSize val="12"/>
  17.             <TileSize val="16"/>
  18.             <BackgroundInsets left="5" right="5" top="5" bottom="5"/>
  19.             <Color r = "1" g = "1" b = "0" a = "1" />
  20.             <BorderColor r = "0" g = "1" b = "1" a = "1" />
  21.         </Backdrop-->>             
  22. ^^^^
  23.  
  24.     </Frame>

And this file shows you the presets available and how you can create your own if none of them suit your needs.

https://www.townlong-yak.com/framexml/live/Backdrop.lua
__________________


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