bitluni / ESP32Lib

http://bitluni.net/esp32-vga/
441 stars 78 forks source link

change the color of the text in the vga.println function #73

Closed the555timer closed 1 year ago

the555timer commented 2 years ago

I can't find a way to change the color of the text printed. it shows the text in white on a black background but if i change the color of the background to white it doesn't change to black text.

iProgramMC commented 2 years ago

Graphics::setTextColor comes to mind, for more see Graphics.h line 127

burmaraider commented 2 years ago

You can also make a new Font class and define pixels as const unsigned short *pixels and use the SpriteEditor to generate a new font. This essentially allows you to use "sprite fonts" that are colorized, gradients etc.