Héctor Ramón
8acf7c41fc
Fix #[default] in preset for game_of_life example
2023-01-19 20:20:13 +01:00
Jedsek
e80c7dff8d
Update preset.rs
2023-01-19 19:09:45 +08:00
Héctor Ramón
5ef0648bf4
Merge pull request #1649 from iced-rs/generic-widget-operations
...
Introduce `custom` method to `widget::Operation` trait
2023-01-14 16:08:36 +01:00
Héctor Ramón Jiménez
daa3f3324d
Introduce custom method to widget::Operation trait
...
This allows users to write operations for their custom widgets.
2023-01-14 03:20:30 +01:00
Héctor Ramón Jiménez
18552f96df
Bump leftover version in README
2023-01-14 01:15:39 +01:00
Héctor Ramón Jiménez
35c0fa3b00
Bump versions in READMEs
2023-01-14 01:14:02 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉
2023-01-14 01:10:28 +01:00
Héctor Ramón
597af315af
Merge pull request #1647 from iced-rs/feature/widget-request-redraw
...
Widget-driven animations
2023-01-13 20:33:59 +01:00
Héctor Ramón Jiménez
507820a843
Fix grammar of TODO comment in application modules
2023-01-13 18:19:05 +01:00
Héctor Ramón Jiménez
b9c8c7b08d
Clarify documentation of window::frames
2023-01-13 18:17:15 +01:00
Héctor Ramón
d2b66805b3
Merge pull request #1648 from wiktor-k/fix-crate-doc
...
Fix comment description on crate example
2023-01-12 16:02:51 +01:00
Wiktor Kwapisiewicz
cb930b05a8
Fix comment description on crate example
...
This tiny PR aligns the comment on the crate example to align to the
comment that is in README.md.
2023-01-12 13:16:53 +01:00
Héctor Ramón Jiménez
c6d0046102
Use instant instead of wasm-timer in iced_core
2023-01-12 06:25:59 +01:00
Héctor Ramón Jiménez
fc54d6ba31
Use instant to fix Wasm target
2023-01-12 05:26:39 +01:00
Héctor Ramón Jiménez
e2ddef7438
Replace Option<Instant> with RedrawRequest enum
2023-01-12 05:18:25 +01:00
Héctor Ramón Jiménez
502c9bfbf6
Rename Focus::at to Focus::updated_at in text_input
2023-01-12 04:54:34 +01:00
Héctor Ramón
902131eb51
Merge pull request #1646 from nicksenger/feat/dependency-in-lazy
...
Provide `&Dependency` to `Lazy` widget view fn
2023-01-12 04:44:14 +01:00
Héctor Ramón Jiménez
0b86c4a299
Implement window::frames subscription
...
... and use it in the `solar_system` example 🎉
2023-01-12 04:35:41 +01:00
Héctor Ramón Jiménez
c649ec8cf7
Use short-hand field notation in TextInput
2023-01-12 03:22:34 +01:00
Héctor Ramón Jiménez
178bd2d83c
Avoid reblinking cursor when clicking a focused TextInput
2023-01-12 03:21:15 +01:00
Héctor Ramón Jiménez
a980024bbf
Implement widget redraw support in iced_glutin
2023-01-12 03:11:08 +01:00
Héctor Ramón Jiménez
7354f68b3c
Draft Shell:request_redraw API
...
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Nick Senger
58bcc4404e
feat: provide &Dependency to Lazy widget View
2023-01-11 11:37:56 -08:00
Héctor Ramón
ca337b880f
Merge pull request #1644 from nicksenger/fix/lazy-widget
...
Fix `overlay` implementation for `Lazy` widget
2023-01-11 18:55:48 +01:00
Nick Senger
c7c5611087
clippy
2023-01-10 22:00:42 -08:00
Nick Senger
45dda41c4c
add overlays to Lazy example
2023-01-10 21:35:55 -08:00
Nick Senger
4066f89ce7
cleanup Lazy examples
2023-01-10 21:35:55 -08:00
Nick Senger
2e3a69be31
fix: Lazy widget
2023-01-10 21:35:42 -08:00
Héctor Ramón
7ccd87c36b
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling
...
[Feature] Multidirectional scrolling
2023-01-09 19:23:35 +01:00
Héctor Ramón
07d755c6a2
Merge pull request #1565 from bungoboingo/feat/tracing
...
[Feature] Profiling
2023-01-09 19:10:45 +01:00
Héctor Ramón Jiménez
2e5dc1f37a
Add newline at EOF to .gitignore
2023-01-09 18:52:38 +01:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit.
2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced.
2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
2d007474dd
Avoid dragging scroll area when touching scrollbars for Scrollable
2023-01-08 20:27:15 +01:00
Héctor Ramón Jiménez
f64e95e246
Remove PartialOrd implementation for Rectangle
...
A `PartialOrd` implementation is unclear for this type, since it has
a position besides its dimensions.
2023-01-08 20:19:36 +01:00
Héctor Ramón Jiménez
19f4373863
Enable horizontal scrolling with Shift+MouseWheel
2023-01-08 20:17:11 +01:00
Héctor Ramón Jiménez
0c2bcecd44
Add some missing spacing to scrollable example
2023-01-08 20:09:47 +01:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable
2023-01-08 20:07:11 +01:00
Héctor Ramón
ba20ac8e49
Merge pull request #1639 from iced-rs/fix/limits-clamp
...
Stop using `f32::clamp` altogether in `layout::Limits`
2023-01-05 19:05:41 +01:00
Héctor Ramón Jiménez
200cf47fe8
Stop using f32::clamp altogether in layout::Limits
2023-01-05 18:51:48 +01:00
Héctor Ramón
d29849df79
Merge pull request #1633 from pop-os/standardize-checkbox-functions
...
use same name & order for checkbox::new and helper
2023-01-05 18:35:24 +01:00
Héctor Ramón
2e5eebd0ec
Merge pull request #1638 from tarkah/fix/responsive-overlay-layout
...
Fix Responsive overlay placement bug
2023-01-05 18:12:57 +01:00
Cory Forsstrom
c885f56748
Fix shadowed variable
...
Layout passed into the overlay was accidentally shadowed by the
content's layout. So instead of offsetting by the proper layout, the
content layout was used instead.
2023-01-05 08:57:38 -08:00
Héctor Ramón
43374f1f4e
Merge pull request #1637 from iced-rs/fix/layout-resolve-panic
...
Fix `Layout::resolve` panicking under some circumstances
2023-01-05 17:19:31 +01:00
Héctor Ramón Jiménez
31abc4ce0d
Fix Layout::resolve panicking under some circumstances
...
When `fill` has a bigger `Size` than `max`.
2023-01-05 16:40:45 +01:00
13r0ck
2209dbf212
Checkbox: Fix tests with sync'ed helper macro and associated fn
2023-01-04 13:08:53 -07:00
13r0ck
d8536e6248
use same name & order for checkbox::new and helper
...
The helper function for the checkbox widget switched the order
and name of the arguments passed when creating the checkbox
widget. This just standardizes the order whether the dev is using
the helper or the associated function.
Continuation of https://github.com/iced-rs/iced/pull/1616
2023-01-04 12:41:23 -07:00
Héctor Ramón
dca3d1fa7c
Merge pull request #1636 from tarkah/fix/location-copy
...
Make location copy
2023-01-04 19:32:03 +01:00
Héctor Ramón
b5e4e0e2f5
Merge pull request #1635 from tarkah/fix/pub-count-fields
...
Make count fields pub
2023-01-04 19:31:37 +01:00
Cory Forsstrom
e8aee70a69
Fix lint
2023-01-04 10:17:40 -08:00