-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a `FileSelect` type that implements the `Widget` trait such that an auto-splitter can put it in their settings gui like this: ```rust #[derive(Gui)] pub struct SettingsGui { #[filter( // File name patterns with names ("PNG images", "*.png"), // Multiple patterns separated by space ("Rust files", "*.rs Cargo.*"), // The name is optional (_, "*.md"), // MIME types "text/plain", // MIME types with wildcards "image/*", )] text_file: FileSelect, } ```
- Loading branch information
1 parent
8bd62d7
commit a462bff
Showing
5 changed files
with
435 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.