Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
...
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Héctor Ramón Jiménez
34495bba1c
Introduce keyed::Column widget
2023-09-04 02:55:09 +02:00
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07: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
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
e6a93e960c
Rename on_change to on_input for TextInput
2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput
2023-04-12 03:55:18 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes
2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
d1dc62ebcd
Merge branch 'master' into advanced-text
2023-03-17 20:17:23 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68
2023-03-14 11:11:17 +01:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer
2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
12781c717a
Expose window commands for Wasm builds
2023-03-03 20:45:49 +01:00
Bingus
a9ca89ca55
Added example of toggling fullscreen to TODOs.
2023-03-02 10:54:03 -08:00
Héctor Ramón Jiménez
238154af4a
Implement font::load command in iced_native
2023-02-24 13:29:11 +01:00
Héctor Ramón Jiménez
b29de28d1f
Overhaul Font type to allow font family selection
2023-02-24 13:28:24 +01:00
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed
2023-02-17 15:40:17 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07:00
Cory Forsstrom
a7a4a92466
Update todos example to select_all input on edit
2022-11-11 09:08:52 -08:00
Ian Douglas Scott
be9cd3a09f
Use once_cell instead of lazy_static
...
This seems to be generally considered the preferred, idiomatic solution
now. This is in the standard library behind a feature flag (apparently
now called `std::sync::LazyLock`).
2022-10-28 15:58:21 -07:00
Ram.Type-0
ce3b89639d
Take Cow in Text::new
2022-09-21 20:59:17 +02:00
Héctor Ramón Jiménez
6eb3dd7e5e
Implement focus_previous operation
2022-08-04 03:24:44 +02:00
Héctor Ramón Jiménez
77c6864e7c
Implement focus_next operation
...
... as well as a `count_focusable` composable helper!
2022-08-02 04:20:47 +02:00
Héctor Ramón Jiménez
744edbd6c1
Focus text inputs in todos example
2022-07-28 03:58:46 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
e548d6c0d5
Fix Wasm build of todos example
2022-07-09 18:49:50 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
1dd1a2f97f
Introduce StyleSheet for Text widget
2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón
f084ed8df1
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
...
Remove unnecessary String allocation
2021-11-10 23:59:35 +07:00
Ram.Type-0
0245f289b2
Remove unnecessary String allocation
...
Remove unnecessary String allocation by passing &format! or &x.to_string as impl Into<String>
2021-11-02 00:05:25 +09:00
Héctor Ramón Jiménez
d36ce33a95
Reintroduce Box for style_sheet in Button
2021-10-31 16:53:18 +07:00
Héctor Ramón Jiménez
3140cdc4ba
Wire up styling to Button in iced_native
2021-10-18 16:02:30 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
72d5d9b4bd
Add newline to todos example
...
... just for readability
2021-07-22 20:37:12 +07:00
Aldo Fregoso
57247106b9
Added select_all method to TextInput.
2021-03-13 14:50:59 -06:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
31522e30aa
Remove unnecessary SaveError variant in todos example
2021-01-04 23:38:07 +01:00
Héctor Ramón Jiménez
f41eacc3dc
Use f32 for border_width and border_radius
2020-11-23 00:31:50 +01:00
Héctor Ramón Jiménez
0400f6716b
Use directories-next in todos example
2020-11-11 02:34:17 +01:00
Héctor Ramón Jiménez
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
c901f40fd6
Introduce Widget::overlay 🎉
2020-07-08 10:34:14 +02:00
Héctor Ramón Jiménez
c4c5216e3b
Allow passing external state to Application::new
2020-03-30 18:10:15 +02:00
Héctor Ramón Jiménez
36e617ae70
Implement local storage for todos example in Wasm
2020-02-06 05:56:23 +01:00
Héctor Ramón Jiménez
ad500441af
Allow switching executor::Default with features
2020-02-06 03:56:21 +01:00
Héctor Ramón Jiménez
e8316b2087
Allow todos example to compile to wasm32
2020-02-06 03:06:39 +01:00
Héctor Ramón Jiménez
7f4ca71125
Fix empty message alignment in todos example
2020-01-23 15:10:31 +01:00
Héctor Ramón Jiménez
7cea737115
Package examples and remove dev-dependencies
2020-01-20 06:27:01 +01:00