can you guys do this? Thread last updated on 2004-03-03 13:17:27

Posted by member 129945 on 2004-03-02 22:58:50

they call em quad menus..

[img]http://www.cgchat.com/forum/attachment.php?s=&postid=164459[/img]

me and a few Discreet users would love to see this.. in litestep..

Posted by member 129945 on 2004-03-02 22:59:43 link

Posted by member 2018 on 2004-03-02 23:52:22 link

you could mostly fake it by subverting !popup with mzscript
& Bpopup

the script should call 4 popup menus
;{ Quad Popup
*Script bang !popup
*Script exec !popup1 %{mousex} %{mousey}
*Script exec !popup2 %#%{mousex}-popupwidth%# %#%{mousey}-popupheight%#
*Script exec !popup3 %#%{mousex}-popupwidth*2%# %#%{mousey}-popupheight%#
*Script exec !popup4 %#%{mousex}-popupwidth%# %#%{mousey}-popupheight*2%#
*Script ~bang
;}


this script probably won't work as i havn't tested it but hopefully you get the idea

Posted by member 182 on 2004-03-03 02:19:05 link

wow
this is something i'd really like to see.
intuitively you'd get to have a direction setup, so you rightclick the desktop, and 4 menus appear with the cursor in the very centre.

rightclick and right-down for internet apps
rightclick and left-down for system apps
rightclick and left-up for multimedia apps
rightclick and right-up for games

atm i don't think any popup module, or windows api can create menus which head off in different directions like this; i'm thinking labels/boxes could do the same thing though.

Posted by member 37809 on 2004-03-03 07:21:21 link

sounds doable, at least to make guestures to get a specific popup...

you could set mzscript variables to the cursor position on right down for jdesk to check the cursor position on right up for jdesk to see if the user has moved it, then see which quadrant cursor was moved and popup the right one (if cursor wasn't moved, then just !Popup).

Posted by member 99 on 2004-03-03 13:17:27 link

!popup1 top left pin
!popup2 top right pin
!popup3 bottom left pin
!popup4 bottom right pin

But you'd need to use a different position if the mouse was too close to an edge, otherwise the menus would flip over eachother. And you'd need a command to do a !popup1 close, etc. (I think you have to pin them if you want more than one popup visible at a time, I could be wrong.)

scbar could do menus that head off in different directions, but it's a pathetic replacement for popup, since it lacks all the fancy features and doesn't have usable source code.