marking menus

Discussion in 'Mac Programming' started by Chirone, Apr 20, 2009.

  1. Chirone macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #1
    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
     
  2. Chirone thread starter macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #2
    can i make a transparent panel where the buttons aren't transparent?
     
  3. Chirone thread starter macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #3
    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....
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  5. Chirone thread starter macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #5
    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
     

Share This Page