piston::window doesn’t support the `transparent` attribute
ticky opened this issue · comments
I’m attempting to build a floating window whose background is transparent. It looks like the underlying windowing implementation would support this across Windows, Mac and Linux, however, piston doesn’t expose enough of the window attributes from WindowSettings
to enable this feature.
The underlying feature seems relatively straightforward to add, presumably by adding a field matching this one to piston::window::WindowSettings
and plumbing it through to glutin_window
.
Is this functionality which has been deliberately excluded, or would a set of PRs adding this to the requisite components be something you’re interested in?
I agree, this window setting should be added. PRs are welcome!
Although I can see that this setting is now exposed, it doesn't seem to work for me PistonDevelopers/piston_window#288
Is there any other setting required?
The PR (PistonDevelopers/piston/pull/1345) doesn't implement the settings for any of the window backends tho. It literally only adds a field to WindowSettings
which doesn't even get read in the GlutinWindow::new()
source.