UI Interest Group Blog

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

create a (right click) menu in a picture  

NickeN
Member

First I hope I have posted in a relevant forum.  To improve the UI interactivity I have want to include a picture with some simple graphics (omitted for simplicity) representing an area in my UI.  I would like to create Firstly; objects based on coordinates in this picture and and Secondly; be able to click or right click the objects to get a menu like in the attaced  .jpg

To solve the first task I basically tracked the coordinates and printed a textbox. Then by monitoring the coordinates for the mouse I know if I clicked the the textbox "object". I assume that there might be more efficient ways to create these object, having properites or nodes that would help in my second task, which is in either case challenging..

Thankful for suggestions!

Cheers

Nicke

Comments