Skip to content

Runtime submenus, RGB & Scroll items

Choose a tag to compare

@davetcc davetcc released this 07 Nov 09:11

Major backward-compatible release. NOTE: Examples now use the new features and require a V1.7 UI.

If you run into any issues with this release, please go back to 1.6.1 and report the issue here.

New or modified menu types:

  • This release adds submenus that can be generated at runtime
  • RGB items that can represent colors
  • Scroll-choice items that can serve up choices that change at runtime from EEPROM, RAM or a custom function. EG stations from a DAB radio, tracks on a CD, values from EEPROM for names that can be edited by the user.

OO callback options:

  • Option to provide an object implementing CustomDrawing to a renderer that handles reset, and taking over the display.
  • Minor fix to correct reset handling, the existing function callback-based facilities are still supported.
  • Addition of a new object-oriented menu manager callback that handles items starting editing, and items being committed after editing has completed. It also provides for menu tree changed notifications. The original commit callback is still available.

Tested known working on AVR, SAMD, ESP32, ESP8266 with a wide range of inputs, displays and remotes. This is probably the last major release for a while, we need to focus on bug fixing, documentation, and usability as a priority.