Closed nyovaya closed 4 years ago
@cole-h Are you interested to help here?
Question:
With transparency I assume you can set how visible a window should be? Maybe it would be better with an Option<f32>
instead of a bool where the Some(0.5)
would be 50% transparency, Some(0.75)
75% etc
@emoon This would be possible to implement in theory, but needs to be simulated. The plan here is to allow alpha transparency for windows, where the dev can draw (semi)transparent RGBA data to the window.
Alright. Then I guess a bool makes more sense
X11 is now working too(but requires an compositor). @emoon Can you research on how to do this on OSX and implement the code for it?
Seems like I am not able to currently implement transparency so far(as of time and experience with windows and osx). @emoon Would it be possible to review this and merge the linux/bsd/etc. implementation and the windows/osx implementation would come later?
Yes that is fine. Should I merge these changes now?
@emoon Next time I push Id be ready.
ok, good to merge now?
Yes
This will partially resolve https://github.com/emoon/rust_minifb/issues/133 Implemented: