WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   SecureActionButtonTemplate (https://www.wowinterface.com/forums/showthread.php?t=45826)

Aanson 02-15-13 01:31 PM

SecureActionButtonTemplate
 
Hey guys.

I've been doing a lot of looking around for a nice simple API for SecureActionButtonTemplate buttons, but there isn't much out there.

Ultimately, I'm looking to create a function that will create an Action Button on demand which responds to modifiers / mouse-clicks and can receive spells, items and macros (identical to the stock buttons).

If anyone has some code they've written for this purpose already, I'd be hugely grateful.

Thanks for any help, advice.


Aanson.

Seerah 02-15-13 01:32 PM

What do you mean by "on demand"?

Aanson 02-15-13 01:40 PM

Quote:

Originally Posted by Seerah (Post 273047)
What do you mean by "on demand"?

ie a user requests another button be added to a particular bar, the func gets called and adds one.

I'm going to have a look through some of the code of the popular action bar addons out there this evening (particularly my fav addon of all time, Macaroon / Ion)

Aanson

zork 02-15-13 03:47 PM

Have you checked LibActionButton?
http://www.curse.com/addons/wow/libactionbutton-1-0


All times are GMT -6. The time now is 03:54 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI