Skip to main content
Breeze1
Associate III
May 21, 2020
Question

How to make a theme like windows in PC?

  • May 21, 2020
  • 3 replies
  • 847 views

I want to chang the theme in our device, like windows which has bright or dark theme.How to do?

This topic has been closed for replies.

3 replies

Alexandre RENOUX
Visitor II
May 22, 2020

Hello,

You could save a value in the Model like uint8_t theme = 0 (if bright theme) or 1 (if dark theme).

When you enter a screen you first check this value and load the assets and colors accordingly.

/Alexandre

Breeze1
Breeze1Author
Associate III
June 9, 2020

Thanks for your answer.

moredatalesscenter
Associate III
September 17, 2020

@Alexandre RENOUX​ could you describe how to do this to invert a 1 bit lcd?