SFML community forums

Bindings - other languages => DotNet => Topic started by: StormWingDelta on December 20, 2014, 12:02:47 am

Title: Just wondering does the SFML Render window allow for clearing with...
Post by: StormWingDelta on December 20, 2014, 12:02:47 am
...a transparent color?

Because I'm messing with an idea of sticking an SFML window on a form and having the form itself have a full background image covering it but still having it visible through the SFML window itself too.  Or do I just make the SFML window fill the form and stick the smaller form controls on top of it for this effect?
Title: Re: Just wondering does the SFML Render window allow for clearing with...
Post by: Hapax on December 20, 2014, 12:56:13 am
SFML doesn't do transparent windows, no. You'll need to get OS specific for that.
I remember figuring out the way to do it for Windows (it's really simple, actually) but not sure about other systems.

EDIT: I didn't initially notice that this was in the DotNet forum. I assume that there is a DotNet version to do it that isn't far from the c++. If you can convert, or would just like a hint as to what to look for, take a look at this c++ example:
http://en.sfml-dev.org/forums/index.php?topic=16776.msg120587#msg120587