boydm / scenic_driver_nerves_rpi

Scenic render-only driver for the Raspberry Pi under Nerves
Apache License 2.0
22 stars 12 forks source link

Support Scenic as an overlay #15

Closed Cowa closed 3 years ago

Cowa commented 3 years ago

Hello!

In our application we would like to use Scenic as an overlay.

But right now, the driver uses only the layer 0, so anything with an higher layer will hide it. And we also need some transparency to still be able to see layers behind it.

This was not difficult to make, so here is a PR adding 2 new options:

What do you think?

And I've also one question: Is it possible to have a transparent background while keeping all elements (text, shape, image...) fully opaque? (I don't have any OpenGL knowledge (yet))

Thank you!

cblavier commented 3 years ago

Hey @boydm. I would be interested in getting this merged. What do you think?