Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.64 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.64 KB

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 Example 01
02 Native controls Example 02
03 Dialog resources Example 03
04 Custom control Example 04
05 Resizable layout Example 05
06 Tabs Example 06
07 Video playback Example 07

License

Licensed under MIT license, see LICENSE.md for details.