WinSafe examples
This repo contains several examples of native Win32 applications written in Rust with WinSafe. All examples follow the same program structure, which is the recommended way to build a WinSafe application.
Each directory is a full application, with is own Cargo.toml
.
Resources
Each example has a .res
file with its application resources (manifests, icons, dialogs and so on). You can edit the .res
file with any resource editor, or even generate your own .res
by compiling a .rc
script.
The .res
file is linked into the final .exe
by the build.rs
, which is a Cargo build script.
Examples list
Note that the order can change with new examples being added.
Example | Screenshot |
---|---|
01 Button click | |
02 Combo and radios | |
03 Dialog resources | |
04 Custom control | |
05 Resizable layout | |
06 Video playback |
License
Licensed under MIT license, see LICENSE.md for details.