Commit graph

4304 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
fef6fca369
Shorten some MouseArea methods 2024-02-07 12:02:56 +01:00
Héctor Ramón Jiménez
d756a9210a
Override MouseArea interaction only when contents are idle 2024-02-07 12:00:33 +01:00
vawvaw
bcdfbf4871
Add Interaction overriding to MouseArea
Add the ability to use a custom `iced:🐭:Interaction` for a
`iced::widget::MouseArea`.
2024-02-07 11:56:43 +01:00
Héctor Ramón
d3619b5f69
Merge pull request #2200 from dtzxporter/run-window-callback
Provide native window access, via "fetch_native_handle" method on window.
2024-02-07 10:40:06 +01:00
Héctor Ramón Jiménez
2a3778daa3
Pin web-sys dependency to 0.3.67 for now
Context: https://github.com/rustwasm/wasm-bindgen/issues/3834
2024-02-07 10:32:47 +01:00
Héctor Ramón Jiménez
dea9800503
Update CHANGELOG 2024-02-07 09:52:23 +01:00
Héctor Ramón Jiménez
2a544dca2f
Fix documentation of Action::RunWithHandle 2024-02-07 09:49:19 +01:00
Héctor Ramón Jiménez
f18a81451f
Rename fetch_native_handle to run_with_handle in window 2024-02-07 09:47:15 +01:00
dtzxporter
7105992228
Re-implement against latest iced master. Rename FetchNativeHandle. 2024-02-07 09:35:13 +01:00
Héctor Ramón
6f97b62457
Merge pull request #2188 from fogarecious/add_doc
Add doc to direct developers to enable features for iced::time::every
2024-02-06 00:51:43 +01:00
Héctor Ramón Jiménez
12ea2a18a5
Update CHANGELOG 2024-02-06 00:41:10 +01:00
fogarecious
1cd22bb6a2
Fix missing feature flag docs for time::every 2024-02-06 00:39:47 +01:00
Héctor Ramón
cb2c8dd86e
Merge pull request #2174 from hicaru/list_picker_events
List picker events
2024-02-06 00:29:45 +01:00
Héctor Ramón Jiménez
79b80fafb8
Update CHANGELOG 2024-02-06 00:11:31 +01:00
Héctor Ramón Jiménez
59a79e55d4
Rename PickList handlers for consistency 2024-02-06 00:10:54 +01:00
Rinat
6cf7c4645d
Add on_opened and on_closed handlers for PickList 2024-02-06 00:10:54 +01:00
Héctor Ramón
b5b267c31c
Merge pull request #2235 from fogarecious/add-from-pathbuf-to-svg-handle
Make the svg function to accept a path
2024-02-06 00:05:08 +01:00
Héctor Ramón Jiménez
f2e904f348
Update CHANGELOG 2024-02-05 23:53:51 +01:00
fogarecious
7bd849199c
Add From<PathBuf> to Svg Handle 2024-02-05 23:52:04 +01:00
Héctor Ramón
8e76d53803
Merge pull request #2237 from iced-rs/fix/mapped-subscription-id
Use `TypeId` to identify `subscription::Map`
2024-02-05 22:05:14 +01:00
Héctor Ramón Jiménez
2fb271a976
Remove redundant id field in subscription::Map 2024-02-05 21:39:03 +01:00
Héctor Ramón Jiménez
35bbee501f
Update CHANGELOG 2024-02-05 21:37:13 +01:00
Héctor Ramón Jiménez
2470a3fb40
Assert closure provided to Subscription::map is non-capturing 2024-02-05 21:34:35 +01:00
Héctor Ramón Jiménez
f39a5fd895
Use TypeId to identify subscription::Map 2024-02-05 00:52:16 +01:00
Héctor Ramón Jiménez
e14e8e2e9a
Fix new beta toolchain warnings 2024-02-05 00:51:51 +01:00
Héctor Ramón Jiménez
8792fc0bb7
Fix unused import in game_of_life example 2024-02-05 00:26:47 +01:00
Héctor Ramón Jiménez
854e967a26
Fix unused Instant in game_of_life example 2024-02-05 00:25:40 +01:00
Héctor Ramón
878134883e
Merge pull request #2170 from varbhat/vbt/colorpalettes
Add Nord, Dracula, Solarized and Gruvbox themes
2024-02-03 19:07:06 +01:00
Héctor Ramón Jiménez
ed02c1b24d
Capitalize theme names in docs of Theme 2024-02-03 18:56:33 +01:00
Héctor Ramón Jiménez
25779358b6
Update CHANGELOG 2024-02-03 18:54:16 +01:00
Héctor Ramón Jiménez
ed159cb963
Fix import style in style::theme::palette 2024-02-03 18:52:48 +01:00
Héctor Ramón Jiménez
17cb548e20
Use Theme::ALL for theme selector in styling example 2024-02-03 18:51:30 +01:00
Héctor Ramón Jiménez
5770efe06d
Capitalize theme names in style::theme::palette 2024-02-03 18:41:06 +01:00
Héctor Ramón Jiménez
fb646a7f14
Make color! macro const-friendly 2024-02-03 18:37:42 +01:00
Var Bhat
04b9dc4e2d
Add Dracula, Nord, Solarized and Grubvox variants to Theme 2024-02-03 18:29:25 +01:00
Var Bhat
6492d9d927
make color! macro expand hex as Color directly 2024-02-03 18:25:03 +01:00
Héctor Ramón
6756594fc6
Merge pull request #2147 from Remmirad/mouse_area_hover_events
Add mouse move events to MouseArea
2024-02-03 18:17:42 +01:00
Héctor Ramón Jiménez
3da6afdc41
Update CHANGELOG 2024-02-03 18:06:50 +01:00
Héctor Ramón Jiménez
8ea85f3b12
Use Fn instead of FnMut in MouseArea
... and simplify event logic a bit.
2024-02-03 18:05:40 +01:00
Remmirad
bd13c580f0
Fix lints 2024-02-03 17:52:48 +01:00
Remmirad
ce23498edf
Add mouse move events to MouseArea 2024-02-03 17:52:39 +01:00
Héctor Ramón
1d58d44fad
Merge pull request #2146 from Decodetalkers/customaction
feat: somewhere to place extra actions by platform
2024-02-03 15:23:06 +01:00
Héctor Ramón Jiménez
4375e4b83c
Update CHANGELOG 2024-02-03 15:12:56 +01:00
Héctor Ramón Jiménez
ece50a1a95
Organize imports in runtime::command::action 2024-02-03 15:12:07 +01:00
Héctor Ramón Jiménez
2656906903
Rename PlateformSpecific variant in Action to Custom 2024-02-03 15:10:45 +01:00
ShootingStarDragons
6e97595d95
feat: somewhere to place extra actions by platform
I have view iced-sckt forked iced, and add the extra actions. and there
do are some extra actions, like set margin for layer-shell, set lock for
ext-session-shell. I think add an any will be of help maybe
2024-02-03 14:54:59 +01:00
Héctor Ramón
0b2c9db228
Merge pull request #2140 from blazra/master
Improve `TextEditor` slow scrolling behavior with touchpads
2024-02-03 14:28:54 +01:00
Héctor Ramón Jiménez
719798441d
Fix clippy lints 2024-02-03 14:19:08 +01:00
Héctor Ramón Jiménez
db9ca1a147
Run cargo fmt 2024-02-03 14:18:11 +01:00
Héctor Ramón Jiménez
066ee088d9
Update CHANGELOG 2024-02-03 14:15:40 +01:00