Commit graph

27 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
d4d14b68f4 Remove padding from Container for now 2019-11-11 05:37:51 +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
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
c427ce0cec Reduce Copy constraint to Clone in Message 2019-11-02 02:15:17 +01:00
Héctor Ramón Jiménez
1242b334fe Merge branch 'feature/scrollables' into feature/text-input 2019-11-02 01:50:29 +01:00
Héctor Ramón Jiménez
85dab04965 Scale scrollbar movement by content ratio 2019-11-02 01:46:45 +01:00
Héctor Ramón Jiménez
51a0e99097 Implement cursor movement in TextInput 2019-10-31 03:50:40 +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
63cd0fd8eb Draft TextInput widget structure
Also started a `todos` example to showcase it!
2019-10-30 03:31:07 +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
29588f604a Implement scrollbar interactions! 🎉 2019-10-29 05:09:54 +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
6602c1517c Complete Scrollable::hash_layout 2019-10-29 03:29:29 +01:00
Héctor Ramón Jiménez
a3c55f7517 Stop leaking impl details in scrollable Renderer 2019-10-29 02:13:22 +01:00
Héctor Ramón Jiménez
82c2aa6bfd Align items properly inside a Scrollable 2019-10-27 02:59:25 +01:00
Héctor Ramón Jiménez
63c10b67ab Remove Scrollable::justify_content method 2019-10-27 01:37:40 +02:00
Héctor Ramón Jiménez
09bd2c46c0 Expose scrollable offset properly 2019-10-27 01:24:08 +02: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
f8a232c8af Remove generic handle in Image
For now, we will simply assume images will be loaded from a given path.
2019-10-22 23:20:24 +02:00
Héctor Ramón Jiménez
ccc463a7c0 Draw checkbox in iced_wgpu 2019-10-13 18:10:12 +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
10e10e5e06 Make iced_core::Button customizable
Now it supports:
  - Any kind of content
  - Custom border radius
  - Custom background
2019-10-08 03:13:41 +02:00
Héctor Ramón Jiménez
a90f7fcb98 Move MouseCursor to iced_wgpu 2019-10-05 03:58:23 +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
eda1048dbc Complete some hash_layout implementations 2019-09-20 19:31:49 +02:00
Héctor Ramón Jiménez
b9e0f74948 Create iced_core and iced_native 2019-09-20 19:15:31 +02:00