Quantcast re. Snowfall's screenshot (moved from Gallery thread) - WoWInterface
Thread Tools Display Modes
09-13-16, 08:07 AM   #1
A Black Drake
geekyadam's Avatar
Join Date: Jan 2013
Posts: 83
re. Snowfall's screenshot (moved from Gallery thread)

Originally Posted by Snowfall View Post
I wonder if t here is a way to create own clickable icons or buttons instead of using fake buttons by hiding datatexts behind weak aura textures
I'm an avid WA user, and I could have sworn it was possible to create icon elements and make them clickable. I could be thinking of another addon. I'm at work now and can't confirm til I get home later, apologies.
  Reply With Quote
09-14-16, 05:29 AM   #2
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Regardless of whether or not WA itself will let you make clickable buttons, the main issue is what you want the button to do when clicked.

It's not possible to have a WA button that casts a spell when clicked, for example -- in order to cast a spell when clicked, you need a secure action button, and WA doesn't do that.

Even if WA did make secure action buttons, they would lose the standard WA functionality of being able to appear and disappear based on arbitrary conditions -- you can only hide or show a secure action button based on the same conditions you can check for in a macro, so you would not be able to show the icon when your trinket procced, when the ability came off cooldown, when your target's health fell below 20%, etc.

See also the "Things Addons/Macros Can't Do" sticky thread. You'll be most interested in the section about "secure/protected actions".
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » UI Screenshots, Feedback and Design Discussion » re. Snowfall's screenshot (moved from Gallery thread)

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