Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
bb9ccc4f62
Remove inconsistent input module in iced_native
2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
ae546a5b9d
Revert "Merge pull request #289 from hecrj/fix/cursor-events"
...
`winit` seems to produce `CursorEntered` and `CursorLeft` events after
wheel scrolling for no apparent reason (?). This causes annoying flickering when hovering some widgets on a scrollable.
I should investigate this further. We are rolling back the fix for the
time being.
2020-04-17 23:27:50 +02:00
Héctor Ramón Jiménez
f652e84187
Make cursor unavailable on leave in iced_winit
...
For now, we just set the cursor position to some negative coordinates.
This is a temporary hack until we are able to encode cursor
availability. Layers and/or multi-window support will make this
apparent.
2020-04-12 00:38:18 +02:00
Héctor Ramón Jiménez
1b0cb0d13a
Add example to iced_native::UserInterface
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
04ec587230
Fix documentation examples of UserInterface
2020-02-09 05:57:15 +01:00
Héctor Ramón Jiménez
ce6806bbf4
Remove event conversion from iced_winit::Application
2020-02-09 05:24:54 +01:00
Héctor Ramón Jiménez
5de404ddd9
Take IntoIterator instead of Iterator
2020-01-16 07:01:25 +01:00
Héctor Ramón Jiménez
e6aa25a103
Make layout bounds explicit in UserInterface
2020-01-10 03:10:58 +01:00
Héctor Ramón Jiménez
8caa66be27
Add Renderer::Defaults and style inheritance
2019-12-30 12:14:26 +01:00
Héctor Ramón Jiménez
a14b39555e
Allow clipboard access in Widget::on_event
2019-12-18 07:45:49 +01:00
Héctor Ramón Jiménez
d136b7ce64
Uncomment missing debug implementations rule
2019-11-22 21:16:40 +01:00
Héctor Ramón Jiménez
42e775fece
Merge branch 'master' into improvement/docs
2019-11-22 20:30:57 +01:00
Héctor Ramón Jiménez
65eb218d3d
Move widgets from core to native and web
...
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
28423f54db
Remove dbg! in UserInterface
2019-11-20 06:19:20 +01:00
Héctor Ramón Jiménez
860a6923bb
Split text measurements cache from rendering cache
...
This speeds up layouting in the most common scenario considerably!
🎉
2019-11-11 06:07:31 +01:00
Héctor Ramón Jiménez
0240c3981b
Draft custom layout engine based on druid
2019-11-11 03:08:00 +01:00
Héctor Ramón Jiménez
2303111e09
Draft new layout API
2019-11-10 01:55:32 +01:00
Héctor Ramón Jiménez
9dabbf7885
Provide Renderer to Widget::on_event
...
This allows us to implement configurable event processing that adapts to
different rendering strategies.
2019-10-29 03:34:21 +01:00
Héctor Ramón Jiménez
719c073fc6
Draft Scrollable widget (no clipping yet!)
2019-10-25 03:47:34 +02:00
Héctor Ramón Jiménez
c63bdacaad
Make Renderer immutable in UserInterface::build
2019-10-11 23:45:01 +02:00
Héctor Ramón Jiménez
8846a239cf
Rename Renderer::Primitive to Renderer::Output
2019-10-11 22:15:39 +02:00
Héctor Ramón Jiménez
a7d1194403
Add Renderer and Primitive concepts
2019-10-05 03:56:18 +02:00
Héctor Ramón Jiménez
b9e0f74948
Create iced_core and iced_native
2019-09-20 19:15:31 +02:00