Commit graph

623 commits

Author SHA1 Message Date
memoryruins
b9398d2df8 minor changes to text_input's use of iterators 2019-11-07 01:07:00 -05:00
memoryruins
58bd0824bf impl From<Array> for Color 2019-11-07 01:02:20 -05: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
470266f540 Add horizontal offset to Primitive::Clip 2019-11-05 03:16:46 +01:00
Héctor Ramón Jiménez
ba470a2b2a Remove unnecessary code in Value 2019-11-05 02:58:42 +01:00
Héctor Ramón Jiménez
d3cdee1d9b Render TextInput cursor inside the clipping area 2019-10-31 04:43:53 +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
29588f604a Implement scrollbar interactions! 🎉 2019-10-29 05:09:54 +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
7fdd7f5952 Remove unused Align in core::Text 2019-10-23 02:35:08 +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
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
c9510db551 Render colored quads 2019-10-07 03:56:16 +02:00
Héctor Ramón Jiménez
5e28f80af8 Improve documentation 2019-09-24 15:15:34 +02:00
Héctor Ramón Jiménez
a975754ab0 Remove stretch optional dependency in core 2019-09-24 14:39:43 +02:00
Héctor Ramón Jiménez
b9e0f74948 Create iced_core and iced_native 2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
a97401aed2 Rethink workspace structure 2019-09-14 19:16:06 +02:00
Héctor Ramón Jiménez
8b8f7563ad Switch to workspace layout 2019-09-10 19:41:49 +02:00