Hi All,
I am using LittlevGL on a graphics project using a microcontroller on a custom build board. I found it very useful and easy to use, and was able to do in few hours what it took me days to do with proprietary libraries. The graphics I’m using require to have partial solid colour with/without gradient on parts of the screen which could easily be made using a rectangle draw on a canvas. The issue is that to use a canvas, a dedicated buffer is needed and this consumes memory, especially if the canvas is large (say half of the screen).
I currently went around this by using an inactive button and setting the colour of the inactive style as needed. Although this works, I would like to know if there is a better way of directly drawing a sold colour on the screen without using a canvas or having to create a button object.
P.S. As a secondary question, would it be possible to have different types of gradient (vertical, centre etc…)?
System details;
MCU: PIC32MK1024GPD100
Display: RGB 320 x 240, 16-bit colour depth
Thanks