Reply
Thread Tools Display Modes
Unread 02-15-13, 01:31 PM   #1
Aanson
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 123
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.
__________________
__________________
Aanson is offline   Reply With Quote
Unread 02-15-13, 01:32 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,589
What do you mean by "on demand"?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Unread 02-15-13, 01:40 PM   #3
Aanson
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 123
Originally Posted by Seerah View Post
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
__________________
__________________
Aanson is offline   Reply With Quote
Unread 02-15-13, 03:47 PM   #4
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,353
Have you checked LibActionButton?
http://www.curse.com/addons/wow/libactionbutton-1-0
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » SecureActionButtonTemplate

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