lime icon indicating copy to clipboard operation
lime copied to clipboard

Implement window transparency.

Open Apprentice-Alchemist opened this issue 2 years ago • 5 comments

The FNF modders want transparent windows. The implementation has not been tested.

Apprentice-Alchemist avatar Aug 04 '22 20:08 Apprentice-Alchemist

Just a side note, SDL's opacity affects the entire window and its content. I thought I would throw that out there since it might not be clear, and because some developers would possibly be interested in setting the actual window transparency(and its background) while leaving the window content opaque (as is already possible for the AIR target).

Unfortunately SDL does not support this at the moment. 😢

Dimensionscape avatar Aug 04 '22 20:08 Dimensionscape

Hilarious

JustJasonLol avatar Aug 10 '22 19:08 JustJasonLol

also how it works?

JustJasonLol avatar Aug 11 '22 14:08 JustJasonLol

PR works well, saw it mentioned by some other dude image

I do not own the image.

EyeDaleHim avatar Aug 12 '22 14:08 EyeDaleHim

Sorry for making a dozen different commits. The online UI only allows editing one file at a time, and I didn't feel like going to the effort of checking it out. (This is why there are so many red Xs above; I had to cancel a bunch of redundant tests.)

Most of the changes were sorting and formatting, but two are worth noting:

And for future reference, FlashWindow.hx and NativeWindow.hx still aren't fully sorted. Something to do later, and not as part of this pull request.

player-03 avatar Aug 12 '22 16:08 player-03

(was saying "fnf modders need this" necessary..?)

It's always good to know why a change is being suggested. Granted, this wasn't a very thorough explanation, but it's a simple change and apparently the modders in question are happy with the outcome, so why not?

player-03 avatar Sep 08 '22 23:09 player-03

Omg it exist

JustJasonLol avatar Oct 12 '22 13:10 JustJasonLol