Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Arduinio library » title band at the Bottom of the screen

Author: Andrea
04/05/2021 17:33:27
as described in the title ...
is there the possibility of creating a space that is always visible in the lower part of the screen?
and maybe you can always view the date and time, even in the various submenus?

I was thinking of creating a 'mask' to apply above the various menus, but if a title band is created, perhaps it can also be created in the lower part.

maybe there is already some dedicated function?

however, I would like to keep the date and time on the same line, only visible (not editable) and possibly editable within a submenu. like many thermostat or boiler or heat pump displays that I find myself working with, it might make sense (to me! ??).

Thanks in advance!

Author: davetcc
04/05/2021 18:17:21
In 1.7 it could be a little bit tricky to do that, but when 2.0 comes out that would be a lot easier because essentially it never clears the screen after the initialization. So you could just adjust the height and take back a number of rows for example.

In fact, in 2.0 you can even create your own display driver in a handful of lines of code, it's just a case of implementing a really simple drawing interface for most cases.

We've got to get the 2.1 designer finished first as we need to get back to a single code base for the UI. The good news with the drive back to a single designer codebase is that the Linux version is about to get even more UX improvements.

Author: Andrea
05/05/2021 06:11:12
 

in 2.0 you can even create your own display driver in a handful of lines of code, it's just a case of implementing a really simple drawing interface for most cases


I'll take a look


the Linux version is about to get even more UX improvements.


so happy about that!!

Author: davetcc
05/05/2021 08:13:06
We've got a little bit more work to do on the 2.0 library yet, it's still a beta version. We've tested it quite a bit, but I wouldn't bake it into anything just yet.

I know it's been a long time, but we are trying to get back to one designer code base and absolutely everything open-sourced, all based on OpenJDK, so there's no question of proprietary software anywhere. We are nearly there now, and the 2.1 beta is in the hands of our tester.

The main changes wil be once out:

* IoAbstraction finally separates out the platform properly, the conditional code depending on platform is now in platform specifc files, making new boards and platforms much easier to support.
* Much more control over how to draw, the colours, the fonts, even grid layouts are available, and even touch screens.
* The one we are discussing here, the new Drawable interface is purely concerned with how to draw, and not any menu logic, so it's easy to modify or write your own for special cases. The height should even be configurable.




Register / Login  |  Desktop view  |  Jump to top of page