horizontal umenu?

Feb 9, 2006 at 1:14pm

horizontal umenu?

I’m looking for an external or abstraction or something to create a
“horizontal umenu” – meaning that the orientation of the unclicked
state is a tall, narrow rectangle, and then when you click it, it
expands horizontally to reveal its menu items.

Also, it would be great if the text appeared up and down:

Unclicked State:

U
n
c
l
i
c
k
e
d

Clicked State:

C | I | I | e
l | t | t | t
i | e | e | c
c | m | m | .
k | 2 | 3 | .
e | | | .
d | | |

Thanks in advance!
Dan

Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com

#24347
Feb 9, 2006 at 2:43pm

hi,

Have a look at Matthew Aidekman’s GUI objects. I’m not sure there’s a
vertical umenu and I don’t have them on this computer to check, but
anyway, maybe you’ll find something useful for your need in them.

http://www.estatesound.com/matsui.html

hth.

Julien.

#70283
Feb 9, 2006 at 3:44pm

Thanks – a good suggestion, as I’d not looked at Matthew’s package
before. Lot’s of (very nice) stuff in there, but unfortunately
nothing that matches what I’m looking for. If if in the end nothing
that fits my needs is already available, looking at Matthew’s
Javascript might help me build my own…

Dan


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com

#70284
Feb 9, 2006 at 4:46pm

recently i tried to make a “custom ubumenu” which
would work in pluggo.
i used picture buttons for mousetracking/mouse up down,
and bringtofront sendtoback messages to thispatcher
to “open” the menu over the rest of the GUI.
it would open when you click its title, and it would
“close” again as soon as you clicked inside.

#70285
Feb 9, 2006 at 5:16pm

Sounds like it might help me Roman – did it work? Can you share it?

Thanks,
Dan


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com

#70286
Feb 9, 2006 at 7:43pm

> Sounds like it might help me Roman – did it work? Can you share it?

it is not yet a “110 gui object” it is only a scribble :)

but try it maybe you like the idea:

patch:

max v2;
#N vpatcher 65 422 818 878;
#N vpatcher 463 885 838 1135;
#P origin -620 -140;
#P newex 150 84 27 196617 t b;
#P newex 71 153 27 196617 t b;
#P comment 127 42 45 196617 message;
#P newex 63 102 27 196617 1;
#P newex 71 175 27 196617 0;
#P newex 63 127 27 196617 gate;
#N comlet anything opens gate;
#P inlet 63 57 15 0;
#P outlet 35 176 15 0;
#N comlet message;
#P inlet 141 57 15 0;
#P comment 24 42 95 196617 anything opens gate;
#P connect 4 0 2 0;
#P connect 9 0 6 0;
#P fasten 5 0 4 0 76 198 113 198 113 123 68 123;
#P connect 6 0 4 0;
#P connect 4 0 8 0;
#P connect 8 0 5 0;
#P connect 1 0 4 1;
#P connect 3 0 9 0;
#P connect 1 0 9 0;
#P pop;
#P newobj 118 378 72 196617 p f0.otg;
#N vpatcher 657 805 1360 997;
#P origin -667 -162;
#N comlet p mouse;
#P outlet 431 130 15 0;
#P newex 610 89 62 196617 delay 200;
#P message 610 113 62 16187401 1;
#P newex 610 64 62 196617 t b;
#P message 536 113 64 16187401 0;
#P newex 536 64 65 196617 t b;
#N comlet thispatcher;
#P outlet 7 64 15 0;
#P message 325 47 187 16187401 script sendtoback context-1;
#P message 54 47 187 16187401 script bringtofront context-1;
#N comlet menu to fromt;
#P inlet 260 31 15 0;
#N comlet menu to back;
#P inlet 291 31 15 0;
#P connect 2 0 4 0;
#P connect 3 0 4 0;
#P connect 1 0 2 0;
#P connect 0 0 3 0;
#P connect 6 0 10 0;
#P connect 8 0 10 0;
#P connect 3 0 5 0;
#P connect 5 0 6 0;
#P connect 2 0 7 0;
#P connect 7 0 9 0;
#P connect 9 0 8 0;
#P pop;
#P newobj 504 175 72 196617 p menu;
#N vpatcher 982 829 1402 1045;
#P message 245 51 50 196617 1;
#P outlet 113 125 15 0;
#P inlet 26 31 15 0;
#P newex 26 107 72 196617 gate;
#P newex 88 74 67 196617 select 1;
#P newex 88 31 67 196617 loadbang;
#P newex 88 53 67 196617 mousestate;
#P connect 4 0 3 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 1;
#P connect 3 0 5 0;
#P pop;
#P newobj 586 175 72 196617 p mouse;
#N vpatcher 331 829 693 1015;
#P origin -690 -235;
#P newex 38 138 50 196617 loadbang;
#P outlet 125 94 15 0;
#P outlet 85 94 15 0;
#P inlet 170 34 15 0;
#P message 18 68 21 196617 2;
#P message 38 68 21 196617 1;
#P newex 85 50 50 196617 gate 2;
#P connect 0 0 2 0;
#P connect 0 1 1 0;
#P connect 6 0 1 0;
#P connect 2 0 0 0;
#P lcolor 15;
#P connect 1 0 0 0;
#P lcolor 15;
#P connect 0 0 4 0;
#P connect 3 0 0 1;
#P connect 0 1 5 0;
#P pop;
#P newobj 42 378 72 196617 p distri-2;
#P user panel 21 83 384 226;
#X brgb 99 30 168;
#X frgb 165 165 165;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#N thispatcher;
#Q end;
#P newobj 504 209 72 196617 thispatcher;
#P bpatcher 21 57 122 117 0 0 bpatch.pat 0;
#P objectname context-1;
#P hidden connect 0 0 5 0;
#P connect 5 0 1 0;
#P connect 4 0 5 1;
#P hidden connect 0 1 5 1;
#P connect 5 1 4 0;
#P lcolor 13;
#P pop;

————————————

[bpatch.pat]:

max v2;
#N vpatcher 461 335 918 662;
#P origin 0 -11;
#P outlet 58 197 15 0;
#P user ubutton -2 28 147 137 0 2;
#P user ubutton 0 -1 147 32 0 0;
#P comment 12 8 129 196620 click me;
#P outlet 20 197 15 0;
#P comment 8 89 129 196620 your phat mom;
#P comment 8 70 129 196620 your functions;
#P comment 8 51 129 196620 your ideas;
#P comment 10 32 129 196620 your menu here;
#P user panel -1 -1 147 159;
#X brgb 255 160 58;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P hidden connect 7 1 5 0;
#P hidden connect 8 1 9 0;
#P pop;

————————————

#70287
Feb 9, 2006 at 7:55pm

Thanks Roman, I’ll take a look!

Dan


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com

#70288

You must be logged in to reply to this topic.