Log in

View Full Version : Virtual Buttons



Owltoid
01-20-2010, 12:12 PM
I'm trying to design a custom "fake" interface and it would be useful to create buttons within WoW.

For example, I would like to create a square which is pink in color, has the text inside that says bubble, and is at a locked place in my WoW window. When I click on this area I will have HKN register the mouse click and send a hotkey to a slave telling it to bubble. Basically, instead of using mouse broadcasting with grid and such I want to create my own set of buttons that when I click on them in certain ways HKN sends different signals to slaves.

I believe there is an addon called KG Frames or something like that. Is anyone familiar with this type of setup (I know someone here is!)? All I want to do is make some pretty boxes to use as virtual buttons!

Ualaa
01-20-2010, 07:21 PM
Not exactly what you want.

One poster on the isboxer forums, uses both Grid and Vuhdo.
Clicking one is heals.
Clicking the other is non-heal spells.

Grid w/Clique, Vuhdo, Healbot, OpenRDX etc all interpret clicks.
And do whatever based on the click.
So it should be quite doable.
But I lack the Lua expertise.

Freddie
01-20-2010, 07:34 PM
[. When I click on this area I will have HKN register the mouse click and send a hotkey to a slave telling it to bubble.
You can do the whole thing with HotkeyNet. It has an API for making buttons. You can make them any size you want, combine them in panels, put pictures (JPGs, etc.) on them, hide them, make them translucent, etc.

Unfortunately I never got around to writing instructions (Mojo came along) but I did write about 15 reference pages:

http://hotkeynet.com/ref/createbutton.html

http://hotkeynet.com/ref/createpicturebutton.html

http://hotkeynet.com/ref/setbuttonhotkey.html

Those pages will get you started -- you can follow the links if interested.

Owltoid
01-21-2010, 12:19 AM
Thanks, Freddie! I'll read about them (and possibly implement) tomorrow.