Horizontal menus

Discuss Lemur and share techniques.
alloedee
Regular
Posts: 55
Joined: 29 Dec 2012 12:35

Horizontal menus

Post by alloedee »

Hey Lemurians.

I was wondering if it is possible to make menus that are horizontal instead of vertical?

My problem is that if I have a menu in a container close to the buttom of the container, the menu options can't go outside of the container.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Horizontal menus

Post by Macciza »

Yeah
I guess it could be done with a bit of scripting
The other option is to script it to move upwards and back
Will have a look into it at some point
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
lABl
Lemur Guru
Posts: 269
Joined: 09 Dec 2011 15:56
Contact:

Re: Horizontal menus

Post by lABl »

Hi Allodee,

You can try something with pads instead with a bit of scripting, I attached a small example.

Hope that helps,
Cheers,
Attachments
AB PadMenu.jzlib
(3.18 KiB) Downloaded 127 times
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Horizontal menus

Post by Softcore »

Here is a horizontal menu....To map it to your controlled software map the variable Container.items.selection
horizontal_menu.jzml
(8.31 KiB) Downloaded 155 times
Oooops AB was faster!
alloedee
Regular
Posts: 55
Joined: 29 Dec 2012 12:35

Re: Horizontal menus

Post by alloedee »

Thank you for your help, that did the trick :)
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Horizontal menus

Post by Macciza »

Hi All

Here is a slightly revised version of AB's - that responds more like a normal object . . .
You can get its vale by using HorizMenu_.selection and it responds to HorizMenu_.selection=index to set its value
Of course you can rename the Container as you require . .
A little bit more work and it could be a nice virtual Object perhaps
HorizMenu Example.jzml
(7.43 KiB) Downloaded 134 times
And a little example Project
^^HorizMenu.jzlib
(3.91 KiB) Downloaded 129 times
I am thinking of adding a 'Modules' sub-Forum so we can get the Module Library better organised and supported - and we can link some of this to a new thread there.
I have a few other modules ready to at least release as beta's - and I think it would be good to have an area for more focused discussion on modules . ..

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Horizontal menus

Post by Softcore »

Yeah I believe more modules would be a great addition - for usage and educational purposes alike....
lABl
Lemur Guru
Posts: 269
Joined: 09 Dec 2011 15:56
Contact:

Re: Horizontal menus

Post by lABl »

Softcore wrote:
Oooops AB was faster!
:P

@Macciza, cool, I had not any bidirectional work on that example, I have updated it (attached) using pads instead of switches, it makes code more simpler imho.

CHeers,
Attachments
AB PadMenu Bid.jzml
(9.42 KiB) Downloaded 113 times
AB PadMenu Bid.jzlib
(6.39 KiB) Downloaded 122 times
lABl
Lemur Guru
Posts: 269
Joined: 09 Dec 2011 15:56
Contact:

Re: Horizontal menus

Post by lABl »

Hi Folks,

I have tweaked it a little bit while having the coffe, now you can change dynamicaly the number of entries by using the entries variable (1-16 you can change this if you need using rows too) You also can use the column box, it will work too.
Captura de pantalla 2013-02-14 a las 16.59.10.png
Captura de pantalla 2013-02-14 a las 16.59.10.png (12.89 KiB) Viewed 3528 times
Also changing the off color of "selected" pad will change the color of items pads too.
Captura de pantalla 2013-02-14 a las 17.30.22.png
Captura de pantalla 2013-02-14 a las 17.30.22.png (10.71 KiB) Viewed 3528 times
Here the file if anyone is interested:
AB PadMenu Bid 2.jzlib
(7.21 KiB) Downloaded 139 times
About of lemur modules, there is a thread on projects forum, quite quiet though, maybe some uploads could be compiled there?

Cheers,
lABl
Lemur Guru
Posts: 269
Joined: 09 Dec 2011 15:56
Contact:

Re: Horizontal menus

Post by lABl »

Just found the modules thread, come on guys, post your "things"! I have updated it with some recent uploads.

http://liine.net/forum/viewtopic.php?f=26&t=1552
Post Reply