13r0ck
e6092e81a4
Fix: Clippy lint 'needless_lifetimes'
2023-01-27 13:50:52 -07: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
Héctor Ramón Jiménez
676d8efe03
Rename QuadBorderRadius to BorderRadius
2022-11-08 04:59:34 +01:00
Robert Krahn
c0596179bd
non uniform border radius for quads
2022-11-03 22:48:26 +01:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation
2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
aca9d414d3
Write missing documentation in iced_native
2021-11-05 15:31:33 +07:00
Héctor Ramón Jiménez
023aded277
Rename fill_rectangle to fill_quad in Renderer
2021-11-04 19:24:11 +07:00
Héctor Ramón Jiménez
b3a01973c6
Introduce first-class text module in iced_native
2021-10-31 16:14:38 +07:00
Héctor Ramón Jiménez
4a11cbd994
Implement Widget::mouse_interaction for PaneGrid
...
... and fix rendering of drag interaction in `PaneGrid` by
introducing an explicit `with_translation` method to `Renderer`
and simplifying the `with_layer` and `Clip` primitive.
2021-10-25 16:35:02 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native
2021-10-18 15:19:04 +07:00
Héctor Ramón Jiménez
a4f4d83161
Introduce fill_rectangle to Renderer trait
2021-10-18 14:47:49 +07:00
Héctor Ramón Jiménez
dfceee99aa
Implement Widget::draw for Scrollable
...
Rendering the scroller is still WIP
2021-10-14 17:15:29 +07:00
Héctor Ramón Jiménez
3a0c503db9
Implement Widget::draw for Text
2021-10-14 17:00:38 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native
2021-10-14 16:07:22 +07:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
2118a726f8
Write documentation for the new overlay API
2020-07-10 02:39:12 +02:00
Héctor Ramón Jiménez
f064f0482b
Introduce Layer trait
2020-07-08 10:41:16 +02: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
e45497dfd6
Move Debugger and Windowed to a better location
...
We move `renderer::Debugger` to `layout::Debugger` and
`renderer::Windowed` to `window::Renderer`.
2020-01-10 01:58:55 +01:00
Héctor Ramón Jiménez
7b278755fc
Write missing docs and reenable deny statements
2020-01-09 18:31:07 +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
f74ab463d4
Add background_color to Settings
2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
a7dba612f0
Write docs for iced and iced_native
2019-11-22 19:36: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
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
58e04af824
Draft Metrics and improve Target abstraction
2019-11-02 19:58:49 +01: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
a92a0b73ed
Move winit logic from iced to iced_winit
...
- Added new `renderer::Windowed` trait. This shoud allow users to easily
try different renderers by simply changing one line.
- Renamed `UserInterface` traits to `Application`, as the `run` method
takes total control of the current thread.
- Moved `MouseCursor` back to `iced_native`. The new
`renderer::Windowed` trait returns one on `draw`.
- Split `iced_native` renderer in multiple modules, for consistency.
2019-10-09 05:36:49 +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