Anyone else developing a user interface (UI) on LCDs and keypads/buttons?

I think that the way to go would be to implement the methods to

  • refresh screen
  • next item (meaning the menu where we are now)
  • previous item (or just implement a bounded buffer)
  • enter
  • back (this can be left out and in every submenu, there would be an option to move up on the menu tree... depends on the developer and number of options, really)

The user of the library would only have to fill out a structure that would have all the menu data in it, and the methods would merely cycle through that structure.

I can have a go at writing something for this... but not over weekend. :wink: