Héctor Ramón Jiménez
fd1101bd5f
Unify Program definition in iced_program subcrate
2025-03-12 02:10:42 +01:00
Héctor Ramón Jiménez
0253d9bee0
Remove open dependency for tour on Wasm
2025-03-11 02:51:05 +01:00
Héctor Ramón Jiménez
23cff08e46
Stop mentioning dodrio in tour example
2025-03-11 02:41:45 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support
2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024
2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
f3ae4266e9
Implement From<u32> instead of u16 for Length and Pixels
2025-02-09 06:38:48 +01:00
Héctor Ramón Jiménez
f8337b8da7
Add helper functions for alignment to widget module
2025-01-24 15:55:24 +01:00
Héctor Ramón Jiménez
6572909ab5
Embed and use Fira Sans as default font when testing
2024-12-12 03:15:32 +01:00
Héctor Ramón Jiménez
6e4970c01a
Add label method to Toggler
2024-09-11 00:22:39 +02:00
Héctor Ramón Jiménez
c741688b4c
Add disabled state and on_toggle handler to Toggler
...
Co-authored-by: Your Name here only <krishnsundaram@gmail.com>
2024-09-11 00:22:13 +02:00
Héctor Ramón Jiménez
f98328f4f1
Add text::Wrapping support
...
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04 21:26:47 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes
2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
e9141e7abf
Rename Step to Screen in tour example
2024-06-16 23:18:45 +02:00
Héctor Ramón Jiménez
e0b4ddf7b7
Flatten state in tour example
2024-06-16 23:15:12 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods
2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Héctor Ramón Jiménez
1d83e59e8a
Specialize widget::text helper with custom IntoContent trait
2024-04-01 21:36:08 +02:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro
2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
943b6c9657
Introduce Program::run_with to control the initial state
2024-03-17 19:15:31 +01:00
Héctor Ramón Jiménez
54f44754eb
Move Program to application module
2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉
2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well
2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API
2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget
2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget
2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
ce4eef64cd
Enable layout debugger for Wasm builds in tour example
2024-02-22 09:24:13 +01:00
Héctor Ramón Jiménez
0c7f4eaab5
Make Canvas fill the parent container on Wasm
2024-02-20 02:51:47 +01:00
Héctor Ramón Jiménez
feab96f323
Add push_maybe to Column and Row
2024-02-15 02:38:07 +01:00
Héctor Ramón Jiménez
e8049af23d
Make horizontal_space and vertical_space fill by default
2024-02-15 02:08:22 +01:00
Héctor Ramón Jiménez
9dd20ead08
Rename password method in TextInput to secure
2024-02-15 02:01:56 +01:00
Alexander van Saase
b5f1ca1695
Introduce support for disabling a checkbox
2024-02-01 13:16:28 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type
2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
...
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Yuri Astrakhan
efd0ff6ded
Chore: Apply some minor clippy fixes
...
* Use `.elapsed()` for duration
* Use direct iteration without calling `.iter()` and the like
* order fields in the `Text` struct creation as declared
2023-09-19 01:52:25 -04:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching
2023-09-10 00:34:21 +02:00
Thomas
fbc9ef74c4
Change init_with_level to init in examples
2023-09-09 22:42:41 +02:00
Thomas
e562544807
Add logging for web in tour example
2023-09-09 14:09:48 +02:00
Thomas
9c2ad457d8
Add webgl feature for web examples
2023-09-09 13:59:18 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree
2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
10a8c599e6
Keep tour buttons solid
...
The gradients feel a bit out of place currently.
2023-05-19 03:48:25 +02:00
Héctor Ramón Jiménez
96aa0379d5
Implement custom helper for theme::Button
2023-05-19 03:43:11 +02:00
Héctor Ramón Jiménez
4c1a082f04
Remove Builder abstractions for gradients
2023-05-19 03:32:21 +02:00