We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SDL_FlashWindow
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems no API yet for SDL_FlashWindow. Until then I am abusing FFI:
impl Interface { pub fn flash_window(&mut self) { use std::ffi::c_void; extern "C" { fn SDL_FlashWindow(w: *mut c_void, o: isize); } unsafe { // 2 == SDL_FLASH_UNTIL_FOCUSED SDL_FlashWindow(self.sdl_window.raw() as *mut c_void, 2); } } }
The text was updated successfully, but these errors were encountered:
This is available since SDL2.0.16 so that explains it.
It should be fairly simple to add though.
Sorry, something went wrong.
Hi, i am a CS student i would like to contribute to the project, i created #1204 pull request about this issue could you review it ? Thanks you :)
This has been added in #1213 a few years ago, closing
No branches or pull requests
Seems no API yet for
SDL_FlashWindow
. Until then I am abusing FFI:The text was updated successfully, but these errors were encountered: