Commit graph

21 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bbeb03504a Stop emitting private use characters on macOS 2019-11-24 12:27:39 +01:00
Héctor Ramón Jiménez
580891dda7 Write docs for iced_winit 2019-11-22 22:14:48 +01:00
Héctor Ramón Jiménez
02c20e6202 Support async actions in iced_winit 2019-11-17 07:11:44 +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
ceb02f4a36 Implement Container widget
Remove `align_self` and `justify_content` methods
2019-11-11 05:26:08 +01:00
Héctor Ramón Jiménez
e953b1828d Allow applications to control the window title
`iced_winit` will change the window title dynamically at runtime!
2019-11-09 05:10:10 +01:00
Héctor Ramón Jiménez
db716b3bdf Apply HiDPI to text, images, and clip primitives
Quads are a bit trickier to handle. We may need to change the shaders a
bit.
2019-11-05 05:26:20 +01:00
Héctor Ramón Jiménez
2c6bfdbc8c Implement debug view and load system fonts 2019-11-03 04:39:11 +01:00
Héctor Ramón Jiménez
58e04af824 Draft Metrics and improve Target abstraction 2019-11-02 19:58:49 +01:00
Héctor Ramón Jiménez
fedcab6f4f Handle some TextInput events 2019-10-30 05:00:12 +01:00
Héctor Ramón Jiménez
bd5d871eb6 Handle touchpad scroll events 2019-10-29 19:00:46 +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
99e1a3780a Set initial window size to 1280x1024 for now
This will be configurable when calling `Application::run` in the future.
2019-10-23 04:44:33 +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
650d020fde Handle window resizes in iced_winit 2019-10-11 22:15:12 +02:00
Héctor Ramón Jiménez
1f60ca3ab4 Update mouse cursor icon properly in iced_winit 2019-10-10 05:58:42 +02:00
Héctor Ramón Jiménez
2fe01a0b1e Use improved RedrawRequested API in iced_winit 2019-10-10 05:53:57 +02:00
Héctor Ramón Jiménez
ae585eb9cb Process winit mouse input and cursor movement 2019-10-10 05:52:35 +02:00
Héctor Ramón Jiménez
ab34ef45e0 Move winit::Application to its own module 2019-10-10 05:50:01 +02:00