WoWInterface - View Single Post - Use atlas name in string?
View Single Post
12-28-20, 04:40 PM   #1
A Frostmaul Preserver
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 283
Use atlas name in string?

Looking at the global strings I have figured out that you can use textures in strings like this:

"|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0:0:0:-1|t" .. "My label text"
This works for me, but how can I do this with Atlas names?
When I try to emulate global strings like this,

"{Atlas|NPE_RightClick:20}" .. "My label text"
I get:

PE_RightClick:20}My label text
I am using the string as the "name" attribute of an AceConfig-3.0 "execute" button.
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote