Discussion:
[lcd4linux] Hierarchical Menu
Ani A
2016-05-04 11:09:49 UTC
Permalink
Hello,

I want to create some Menus, as in selecting one, might lead to a different
page with a different set of options

1. A
2. B
3. C

And on selecting (say) B, would show a page

2.1 B1
2.2 B2
2.3 B3

To create and use such Menu's, I see there was a plugin, but Wiki says its
removed, or
was only a prototype!

How do I achieve this with the present LCD4Linux distribution ? Can I swap
Layouts dynamically?

--
Ani
Marcus Menzel
2016-05-10 20:39:15 UTC
Permalink
Hello Ani,

you may refer to the plugins "menu" and "layout" that I offered in a mail
to the mailing list Lcd4linux-devel in November 2015:

https://sourceforge.net/p/lcd4linux/mailman/message/34585173


This plugins may be used to achieve your goals:
- create menus
- swap layouts dynamically (while runtime)

Unfortunately there are some problems:

1.
The diff attached in the mail hasn't been reviewed an checked in yet.

So you'd have to get the current L4L sources, apply the diff and make
executables yourself.

2.
The plugins should work with a graphic display but have been tested with
a text display/emulator only.

3.
I don't know if there is a driver for the GIR128032C-BNFA dispay with buttons
you've mentioned in an other mail.


Regards

Marcus
Ani A
2016-05-11 03:48:14 UTC
Permalink
Hello Ani,
Post by Marcus Menzel
you may refer to the plugins "menu" and "layout" that I offered in a mail
https://sourceforge.net/p/lcd4linux/mailman/message/34585173
- create menus
- swap layouts dynamically (while runtime)
1.
The diff attached in the mail hasn't been reviewed an checked in yet.
So you'd have to get the current L4L sources, apply the diff and make
executables yourself.
2.
The plugins should work with a graphic display but have been tested with
a text display/emulator only.
3.
I don't know if there is a driver for the GIR128032C-BNFA dispay with buttons
you've mentioned in an other mail.
Regards
Marcus
Thanks Marcus,

I wanted to avoid building custom binary, and rely on installing from the
Ubuntu repo,
so for now I have got a basic 2-level menu being read from file - if I hit
a blocker with
that approach, then I will pick this patch.
Thanks for pointing me to this diff, I will grok through it, and be
prepared.

Regards,
Ani

Loading...