couleur-tweak-tips / smoothie-rs

🧋 add motion blur to videos, with granular configuration
https://ctt.cx/smoothie
GNU General Public License v3.0
76 stars 11 forks source link

Rewrite window.c in Rust #40

Closed domo5581 closed 7 months ago

domo5581 commented 11 months ago

Pretty self explanatory, using the crate windows-sys on recommendation from june and aetopia. I don't know if there are any other references to window.c that exist in the other files, so the only files that were changed apart from window.rs was Cargo.toml.

couleurm commented 10 months ago

@aetopia check this out!!

Aetopia commented 9 months ago

Replace the relevant SetConsoleParams call here: https://github.com/couleur-tweak-tips/smoothie-rs/blob/f04526681aecf6564d5b83f5a7c8d35edeb8bf2f/src/utils.rs#L8

domo5581 commented 7 months ago

forgot about this for a bit? is the actual window.rs file fine? Also I don't think I follow what you're saying about SetConsoleParams

couleurm commented 7 months ago

yeah the code runs fine but if i ever have a reason to do 100percent rust ill def use it as a starting point