embedding menus, toggles, or other UI elements in a jit.cellblock or similar structure

Dan Nigrin's icon

I'd like to be able to embed umenu, toggle, and other UI elements within a jit.cellblock-like structure - basically a scrollable grid of cells. I'm fairly certain that jit.cellblock doesn't allow for this itself, but has someone developed this kind of functionality in another object, or as a hack using jit.cellblock?

Open to any/all ideas, thanks!

Source Audio's icon

Only way I coul think of is including stuff in bpatcher and
scrolling arround using offset messages.
One coud use slider and scale it to bpatcher dimensions,
or number of rows, columns etc

Dan Nigrin's icon

Yeah, a massive hack like that is what I was leaning towards too. But the thought of it just gives me a headache!

Source Audio's icon

I don't know if that really means so much work.
If the structure is not changing, and if scrolling
is just up - down, it should not be too difficult to manage.

Dan Nigrin's icon

It *is* changing - that's the problem. :-) Would mean dynamic scripting within the bpatcher, etc...

As you say though, maybe when I get into it, might not be too difficult after all. Will have to see.

Roman Thilenius's icon

yea scripting. would be the only idea i had.
probably with lots of fun included such as the requirement of redraw, then later you find out it doesnt work in m4l or the other OS, or problems with the input queue while the script runs...

otoh... if you use scripting anyway, you could do it without bpatcher and have less of those issues.

Roman Thilenius's icon


back in max 4, script-moving an item to a position inside bpatcher didnt work since it used the screen coordinates of the root patcher. that was the day when i gave it up to do such things in bpatcher.

Dan Nigrin's icon

Thanks Roman!