Commit graph

14 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
36e7ac2048 Fix cursor positioning in TextInput on overflow 2019-12-21 05:30:48 +01:00
Héctor Ramón Jiménez
14fb7e13fb Place TextInput cursor position on click 2019-12-05 03:09:39 +01:00
Héctor Ramón Jiménez
31e3b6fbcb Unify logic by introducing scrollable::Scrollbar 2019-12-03 06:49:31 +01:00
Friz64
6943041e0f Address suggestions 2019-12-02 19:12:05 +01:00
Friz64
9a733bb3c8 Support null renderer 2019-12-02 19:12:05 +01:00
Friz64
5eec3a8867 First implementation 2019-12-02 19:09:17 +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
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
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
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