Quantcast
Use atlas name in string? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-28-20, 04:40 PM   #1
LudiusMaximus
A Frostmaul Preserver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 278
Use atlas name in string?

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

Code:
"|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,

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

Code:
{Atlas
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Use atlas name in string?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off