Commit graph

2088 commits

Author SHA1 Message Date
Olivier Pinon
d06e6bfb51 Lower text::Renderer's Font bound from Copy to Clone 2021-12-10 23:34:02 +01:00
Olivier Pinon
a7bcd65bb8 Decouple the image Handle type from the iced_native implementation 2021-12-10 23:33:58 +01:00
Héctor Ramón
8cbba94458
Merge pull request #1151 from x37v/patch-1
Replace Zulip with Discord in README
2021-12-10 18:38:12 +07:00
Héctor Ramón
dc04435b64
Fix Discord link in README.md 2021-12-10 01:36:12 +07:00
Alex Norman
093dc51cb1
no longer using zulip? 2021-12-09 06:53:12 -08:00
Héctor Ramón
a98a8c1c51
Merge pull request #1150 from thenlevy/submit_with_numpadenter
Make TextInput emit a Submit message when the key NumpadEnter is pressed
2021-12-09 17:21:53 +07:00
nlevy
b479ba4821 Make TextInput emit a Submit message when the key NumpadEnter is pressed 2021-12-09 10:58:50 +01:00
Héctor Ramón
c2eb9d7fbc
Merge pull request #1147 from daladim/icon_in_docs
Added icon in docs
2021-12-09 15:43:20 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón
aa96a0a84d
Merge pull request #1149 from nicksenger/fix/component-height
Fix `Widget::height` for `Component`
2021-12-09 15:00:53 +07:00
Nick Senger
4a54d4dfc5
Fix Widget::height for Component 2021-12-08 15:33:25 -08:00
Héctor Ramón
6f3a608717
Merge pull request #1142 from iced-rs/fix/unused-lints
Remove unused fields
2021-12-07 16:29:38 +07:00
Héctor Ramón Jiménez
fa9fb65ace
Remove unused fields in pokedex example 2021-12-07 16:13:53 +07:00
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example 2021-12-07 16:12:34 +07:00
Héctor Ramón Jiménez
09d5726a26
Remove unused field in wgpu::Backend 2021-12-07 16:12:04 +07:00
Héctor Ramón Jiménez
aed5a0d5f9
Remove unused field in scrollable::Scrollbar 2021-12-07 16:11:55 +07:00
Héctor Ramón
3f5ec5b20a
Merge pull request #1140 from Imberflur/hash-container-align
Include alignment in the container layout hash
2021-12-07 12:03:11 +07:00
Imbris
f86d96be0f Include alignment in the container layout hash 2021-12-06 14:27:24 -05:00
Héctor Ramón
26d053ab38
Merge pull request #1131 from iced-rs/component-trait
`iced_lazy` and `Component` trait
2021-12-02 17:47:44 +07:00
Héctor Ramón Jiménez
bbd9355450
Introduce Shell type in iced_native
Widgets now can invalidate the current layout of the application on demand.
2021-11-29 16:22:01 +07:00
Héctor Ramón Jiménez
f7792d89d6
Hide Box allocation in component::view
... we may be able to avoid it with generics in the future.
2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
010b62b9ee
Draft component example 🎉 2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
bffa7203df
Create iced_lazy and draft Component trait 2021-11-29 15:04:12 +07:00
Héctor Ramón
d9f970ffd5
Merge pull request #1112 from AndiHofi/on_exit_callback
Application::run returns on native platforms
2021-11-29 14:57:40 +07:00
Héctor Ramón
96c7f9765c
Merge pull request #1118 from TannerRogalsky/native-web-fixes
Native web fixes.
2021-11-29 14:51:35 +07:00
Héctor Ramón Jiménez
2f50d11461
Improve documentation of Application::run 2021-11-29 14:44:19 +07:00
Héctor Ramón Jiménez
0648d9d234
Fix imports in application modules 2021-11-29 14:43:07 +07:00
Andreas Hofstadler
08c771fa70
Allow Application::run to return on native platforms 2021-11-29 14:41:05 +07:00
Héctor Ramón
aeec0375f0
Merge pull request #1125 from iced-rs/fix/overlay-layer-clip-bounds
Fix overflow of graphics primitives in overlays
2021-11-23 17:44:57 +07:00
Héctor Ramón
71685a1350
Merge pull request #1124 from iced-rs/fix/pane-grid-mouse-interaction
Fix implementation of `Widget::mouse_interaction` for `PaneGrid`
2021-11-22 13:36:30 +07:00
Héctor Ramón
e2ec824678
Merge pull request #1121 from Imberflur/fix-some-doc-links
Fix a few doc links
2021-11-21 15:16:31 +07:00
Héctor Ramón Jiménez
92b3b169c6
Fix overflow of graphics primitives in overlays
... by using `overlay_bounds` instead of `viewport` as clip bounds for overlay layer in `UserInterface::draw`
2021-11-21 15:09:53 +07:00
Héctor Ramón Jiménez
77aa05afd3
Fix implementation of Widget::mouse_interaction for PaneGrid 2021-11-21 15:06:01 +07:00
Imbris
b89d3bed5c Fix a few doc links 2021-11-17 12:08:52 -05:00
Héctor Ramón
d165b789df
Merge pull request #1114 from tarkah/fix/slider-optimization
Don't rebroadcast redundant slider messages
2021-11-16 16:00:31 +07:00
Héctor Ramón
27bc2b9086
Merge pull request #1116 from gonsor/checkbox_text_color
Add checkbox text_color styling
2021-11-15 15:35:27 +07:00
Héctor Ramón Jiménez
1ce02e8c7a
Derive Eq for slider::State again 2021-11-15 15:33:02 +07:00
Héctor Ramón Jiménez
94d62bca9a
Use value in Slider to store the previous value 2021-11-15 15:30:53 +07:00
Héctor Ramón
04f3a3d81b
Merge pull request #1117 from TannerRogalsky/twox-hash_no-default-features
Disable default features in twox-hash dependency.
2021-11-15 15:13:21 +07:00
Tanner Rogalsky
24d7d4740f Use iced_futures utilities to make native work under wasm32 target. 2021-11-14 11:04:20 -05:00
Tanner Rogalsky
55eaeceec8 Collect the platform-specific concrete future implementations into mods. 2021-11-14 11:03:15 -05:00
Tanner Rogalsky
4cb3820a4e Disable default features in twox-hash dependency.
We don't use twox-hash's random seeding features. Removing them makes
this crate leaner and also more portable (specifically for web).
2021-11-14 10:53:43 -05:00
Daniel May
1a6c912332 Add checkbox text_color styling 2021-11-14 11:35:12 +01:00
Cory Forsstrom
9a254a211b Don't rebroadcast redundant slider messages 2021-11-11 10:32:37 -08:00
Héctor Ramón
f084ed8df1
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
Remove unnecessary String allocation
2021-11-10 23:59:35 +07:00
Héctor Ramón Jiménez
e6627bb96d
Fix formatting with cargo fmt 2021-11-10 16:35:13 +07:00
Héctor Ramón
eafad00af2
Merge pull request #1110 from iced-rs/remove-renderer-traits
Reduce the surface of the `Renderer` APIs
2021-11-07 15:15:33 +07:00
Héctor Ramón Jiménez
07b5097bc9
Merge branch 'master' into remove-renderer-traits 2021-11-05 17:11:06 +07:00
Héctor Ramón Jiménez
8be1ba76d8
Make program module in iced_glow private 2021-11-05 17:08:35 +07:00