Thread Tools Display Modes
02-01-10, 09:58 AM   #1
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Binding buttons on hover

Hey all!

I'm currently working on an addon that allows binding buttons on hover. I currently am as far that everything works, including key listener and hover script, tooltip, everything. I just need help with 2 things:

1. How should I use SetBinding or SetBindingClick? On the default actionbars you can use SetBindingClick("F", "ActionButton1") or SetBinding("F", "ACTIONBUTTON1") or even SetBinding("F", "CLICK ActionButton1:LeftButton").

2. Frames to be binded must be called by a function ncHoverBind:Register(frame) Could you please help me with the naming of the actionbuttons used by the major actionbar addons(Bartender, Dominos, etc...)? I just don't have the time to extract them all. Or I could loop _G for all CheckButtons and use those. Just give me your ideas!

Thanks!
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-01-10, 10:21 AM   #2
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
They all use LibKeybound, which also handles everything you're trying to do.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
02-01-10, 10:33 AM   #3
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Torhal View Post
They all use LibKeybound, which also handles everything you're trying to do.
Hmm, that basicly kills my job, yeah. I also see that Macaroon! doesn't use it. Should I make an addon that allows libkeybound on everything(Macaroon!, default actionbars) or is that a big "nah"?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-01-10, 10:35 AM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
There's also: http://www.wowace.com/addons/key-bound-extra-1-0/
__________________
"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

  Reply With Quote
02-01-10, 10:38 AM   #5
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Seerah View Post
Ok, since I'm working on it anyway, is there interest for an addon that uses keybound so that you can keybind everything, spellbook and actionbuttons on hover?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-01-10, 05:48 PM   #6
ArrchDK
A Fallenroot Satyr
 
ArrchDK's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 25
Stand-alone version of LibKeybound concept:

EasyBind

I may start updating and troubleshooting some of the issues that some people have had with some of the bars, but you can look at the code for help if you're looking at making a stand-alone one with keybound.

I think having one that allows not only keybins action bars, but spells would be pretty popular.
  Reply With Quote
02-02-10, 12:09 AM   #7
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by ArrchDK View Post
Stand-alone version of LibKeybound concept:

EasyBind

I may start updating and troubleshooting some of the issues that some people have had with some of the bars, but you can look at the code for help if you're looking at making a stand-alone one with keybound.

I think having one that allows not only keybins action bars, but spells would be pretty popular.
I already have the code, only need to combine and make it usable with the lib.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-02-10, 10:43 AM   #8
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
First release!

http://www.wowinterface.com/download...HoverBind.html

Binds buttons, spells and macro's. Currently working to make it work on items.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.

Last edited by nightcracker : 02-02-10 at 11:49 AM.
  Reply With Quote
02-02-10, 11:50 AM   #9
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Bump, addon is approved, start downloading people, I want FEEDBACK!

http://www.wowinterface.com/download...HoverBind.html
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-12-10, 12:08 AM   #10
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Update, working mechanics now!

http://www.wowinterface.com/download...HoverBind.html
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Binding buttons on hover


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