Transparent windows

Discussions about the BBC BASIC language, with particular reference to BB4W and BBCSDL
KenDown
Posts: 327
Joined: Wed 04 Apr 2018, 06:36

Transparent windows

Post by KenDown »

I don't think I've asked this before, but is there any way to create a transparent window in SDL?

Thanks.
Hated Moron

Re: Transparent windows

Post by Hated Moron »

KenDown wrote: Sun 09 Jul 2023, 18:56 is there any way to create a transparent window in SDL?
This is a question about SDL2, not about BBC BASIC, so would be better asked at their forum. A Google search suggests that it's a question that has been asked (and answered) before. Here are a couple of hits:

SDL_SetWindowOpacity()
SDL transparent primary surface

You may well need to take a different approach depending on whether it must work on multiple platforms or just on Windows.