FoamyGuy / Blinka_Displayio_PyGameDisplay

Blinka makes her debut on the big screen! With this library you can use CircuitPython displayio code on PC and Raspberry Pi to output to a PyGame window instead of a hardware display connected to I2C or SPI. This makes it easy to to use displayio elements on HDMI and other large format screens.
MIT License
9 stars 9 forks source link

Add support for pygame display-flags #8

Closed bablokb closed 1 year ago

bablokb commented 1 year ago

This patch adds support for pygame display-flags, mainly to support flags=pygame.NOFRAME and flags=pygame.FULLSCREEN.

Note that pygame could detect the correct screen-size for fullscreen mode automatically, but only after the display is initialized - too late for displayio, which does not support dynamically changing the screen-size.