Need help with buttons over an image

Hey there,

I am coding a UI for my most recent rig and I'm looking to include a rendered image of the character in the UI with buttons over the image at the location of each control, making for easy selection of the control you want.

I had thought to include a bitmap control in my rollout, and then create the buttons and use either offset: or pos: to move them to where I want them over the image. But this made for a lot of work, didn't produce the exact result I wanted, and seems like a poor way to go about this.

If anyone could quickly point out a more efficient way of going about this I would greatly appreciate it.

Thanks in advance.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Marco Brunetta's picture

Using controls on top of

Using controls on top of each other is really just a recipe for disaster. You'll be much better using an ImgTag control, which is pretty much like a bitmap control but you get 10 times more events including a few that return the mouse position when the button is pressed.
Or if you are up for a challenge you can always use some .NET controls as they have all of that and more.

kevinala's picture

Ahh awesome that was exactly

Ahh awesome that was exactly what I was looking for. Thanks so much.

Speaking of .NET, is there a list anywhere of all the controls you can make with .NET anywhere? I'd like to start learning more since all I've used it for so far is making tabbed UI's. I just don't know the names of all the controls.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.