cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a theme like windows in PC?

Breeze1
Associate III

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

3 REPLIES 3
Alexandre RENOUX
Principal

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

Thanks for your answer.

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