forked from linebender/druid
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
update #12
Merged
Merged
update #12
Conversation
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
ClipBox should recurse events if any of its children are active, not just its immediate child.
Fix clipbox bug.
This fixes two small issues: The first is that cursors set in leaf widgets were not being handled correctly, due to the logic in `merge_up` not being called on leaves. The second is that on macOS we were not receiving a MouseMoved event when we first left the window; we fix this by also explicitly handling MouseLeave.
Add a convenience feature for when you want all image functionality. I'm open to discussion whether this is a good thing or not.
* rework_identity * fmt? * Update druid/examples/identity.rs Co-authored-by: Richard Dodd (dodj) <[email protected]> * Update druid/examples/identity.rs Co-authored-by: Richard Dodd (dodj) <[email protected]> * Apply suggestions from code review Co-authored-by: Richard Dodd (dodj) <[email protected]> Co-authored-by: Colin Rofls <[email protected]>
Update Cargo.toml
* add documentation to Layout * Apply suggestions from code review Co-authored-by: Colin Rofls <[email protected]>
Attempt to provide more info to @natsushio
* Respect starting directory for dialogs on Windows Before this change, FileDialogOptions::starting_directory had not been used on Windows and therefore had no influence on the starting directory of a FileDialog window. This has now been fixed. The use of `SHCreateItemFromParsingName` makes it mandatory to explicitly link against shell32.lib because this is not done automatically since Rust 1.33.0. See rust-lang/rust#56568 for details. * Fix: Use winapi feature instead of build.rs As it turns out, the winapi crate already exposes shell32.lib via a cargo feature, so there is no need to link it manually.
This lets us 'correctly' report click-count for mouse events on wasm. Doing this 'actually correctly' would require finding some way to determine what the user's current doubleclick delay is, and I do not believe this is exposed by browsers, although I haven't looked too hard and it is certainly possible. - closes #1464
These were previously calling dispatch_cmd directly, which means commands submitted while handling these events would not be dispatched, and also meant that update wasn't sent.
Retain `Send` and `Sync` from type-erasing `image::Error`.
Add `Sync + Send` bounds to `dyn Error` from image.
We were using 'menu-save-file-as' for two different commands. This removes the 'menu' prefix from save-file and save-file-as, since these are not actually sent by the menu.
Add serde feature, and enable `im/serde` when active.
This is a pretty marginal win, but does remove some duplicate logic.
Remove druid-shell's ImageBuf in favor of piet's.
This should issues with text on wasm.
…tform. This makes IntelliJ happier with the web examples.
Change conditional use of svg to be on the feature svg instead of pla…
…ly scrolling one axis at a time. (#1509)
Fix type signature in Scope.
This is replaced with compare_exchange, which is even *more* confusing to use. :/
* Sub windows (squashed from previous branch) * Update druid version. Address review comments * Fix to mac window close handling. Add WindowDisconnected event. Close sub windows when their owning WidgetPod gets a WindowDisconnected event. * Add WindowCloseRequested event and make window close cancellation work on mac. * Update druid/src/event.rs Co-authored-by: Colin Rofls <[email protected]> * Update druid/src/event.rs Co-authored-by: Colin Rofls <[email protected]> * Changes to allow env updates to flow down to sub windows * Doc fix * Review fixes Co-authored-by: Colin Rofls <[email protected]>
To support bindings and other cases where access and mutation of existing widgets is desired.
* adding added controller widget * updating docs to use linking by name for intra doc links * adding added controller widget * updating docs to use linking by name for intra doc links * making docs more concise Co-authored-by: Colin Rofls <[email protected]> * updating some formatting on comment Co-authored-by: Colin Rofls <[email protected]> * Added controller will now take a mut reference to child * updating on added function signature Co-authored-by: lazypassion <[email protected]> Co-authored-by: Colin Rofls <[email protected]> Co-authored-by: Richard Dodd (dodj) <[email protected]>
This also exposes the ValueTypeError at crate root; both of these changes will be used for some theme loading experiments.
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Update to latest x11rb
typo in doc
* Add RichTextBuilder
Provide get_external_handle on DelegateCtx
I want to use this in my theme loading stuff to check that multiple key's don't have the same inner key value.
* Allow customl 10n resources in AppLauncher * Update CHANGELOG.md * Refactor Env::default
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.