SFML community forums

Help => Window => Topic started by: Feanor on July 13, 2015, 12:57:24 pm

Title: alpha to window
Post by: Feanor on July 13, 2015, 12:57:24 pm
Hi Everyone,

Here, I have a borderless window and I would like to create an image with transparency. transparency of an image works but on the first layer, the transparency that should display the desktop background appears black in place. (here I do not speak of complete transparency but defined by the image). Anyone know how to go about it?

Thank you in advance for the help window.
Title: Re: alpha to window
Post by: Nexus on July 13, 2015, 01:21:59 pm
There have been many posts about transparent windows, have you tried to search?

There's no direct way to do it with SFML, you'll have to do it with OS-specific APIs.
Title: Re: alpha to window
Post by: Feanor on July 13, 2015, 01:34:42 pm
of courses i searched. but the only thing i found is how to make a windows fully transparent. I'm programming on windows. What do i can use?
Title: Re: alpha to window
Post by: Nexus on July 13, 2015, 01:43:12 pm
of courses i searched.
So you should have found these threads (among many others), don't they help you? From glancing over them, they also seem to describe how to use an alpha channel rather than just a mask.
Title: Re: alpha to window
Post by: Feanor on July 16, 2015, 12:46:09 am
Thank you