PDA

View Full Version : marking menus




Chirone
Apr 20, 2009, 10:06 PM
i want to implement marking menus in my program

for those of you who don't know what they are they are like our right click context menus but all the options are spread out around the mouse

knowing when you've right clicked is trivial but how would you get images or menu items to appear around the mouse?

ok right click isn't trivial
i have an NSView, overrode the mousDown methond and it never get triggered... it doesnt event stop for the breakpoint, and yes i am in development mode



Chirone
Apr 21, 2009, 12:29 AM
can i make a transparent panel where the buttons aren't transparent?

Chirone
Apr 26, 2009, 10:24 PM
i guess not....

i tired doing this by making a view that would appear when the user clicks but it failed...
it's strange that a view that is ontop of the splitview in IB is drawn under the splitview though....

robbieduncan
Apr 27, 2009, 02:55 AM
What, like this (http://mattgemmell.com/2005/02/09/scrolling-pie-menus)? Maybe email Matt and ask him...

Chirone
Apr 27, 2009, 09:00 PM
pie menus aren't quite what i had in mind, but i suppose they are similar

nonetheless, that link was full of useful and helpful stuff, thanks robbieduncan :D