neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
929 stars 189 forks source link

Status Bar #396

Open hicksan opened 1 year ago

hicksan commented 1 year ago

Is there an easy way to pre-allocate one row of the display as not part of the menu window - ie under direct user control? I would like to include a status bar with info from other parts of my system updating to the screen (eg time and other data from sensors). Effectively overwriting the bottom row of the menu and triggering a screen refresh when data updates (except when a menu field value is being edited, or that would be lost) but is there a more efficient way to do it?

neu-rah commented 1 year ago

panel (on the output definition) allow one to specify the area of output to be used, still you would be responsible to update a status bar on the free area.

hicksan commented 1 year ago

Thanks Rui. That's great. Can you point me towards an example please?

neu-rah commented 1 year ago

from the wiki https://github.com/neu-rah/ArduinoMenu/wiki/Output#panel

hicksan commented 1 year ago

Thank you for this. An actual "panels.ino" example would really help, to show how 2 panels can be used with a basic menu in one and some text in the other - like a time counter or something - but I will try to start with this. At least it means my problem has a solution without changing the system, so that's very good. Thanks.