Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container
2023-07-27 01:04:18 +02:00
Héctor Ramón Jiménez
78ad365db2
Reuse entries in text::Cache in iced_wgpu
2023-06-28 00:35:37 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability
2023-06-08 20:11:59 +02:00
Héctor Ramón Jiménez
16bf8fc762
Export Shaping and LineHeight in widget::text
2023-05-08 15:37:29 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets
2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text
2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean
2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy
2023-05-02 01:02:13 +02:00
Ian Douglas Scott
47016a37df
Do not require Copy for text StyleSheet::Style
...
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.
Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.
It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.
This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
Héctor Ramón Jiménez
8af69be47e
Converge Command types from iced_futures and iced_native
2023-03-05 06:23:40 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +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
d3553adf27
Write documentation for iced_core
2019-11-18 07:16:19 +01:00
Héctor Ramón Jiménez
e640b87590
Derive Clone for text_input::State
2019-11-17 07:03:22 +01:00
Héctor Ramón Jiménez
be5466a0a7
Remove argument from text_input::State::focused
2019-11-13 07:57:22 +01:00
Héctor Ramón Jiménez
657e513651
Implement text_input::State::focused
2019-11-13 07:38:06 +01:00
Héctor Ramón Jiménez
2337029602
Remove default styling of Button
...
- A background will only show if explicitly set.
- `iced_wgpu` won't apply a `min_width` of 100 units anymore.
2019-11-13 07:36:50 +01:00
Héctor Ramón Jiménez
6857829dc3
Draft Font type and implement Text::font
2019-11-13 07:22:21 +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
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
memoryruins
b9398d2df8
minor changes to text_input's use of iterators
2019-11-07 01:07:00 -05: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
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