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
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +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
c79cc2d2b3
Bump versions 🎉
2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +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
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback
2023-02-24 23:24:48 +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
0d1656937b
Bump versions 🎉
2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉
2023-01-14 01:10:28 +01:00
Héctor Ramón Jiménez
7354f68b3c
Draft Shell:request_redraw API
...
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit
2022-12-15 03:06:04 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉
2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation
2022-11-10 18:14:40 +01:00
Héctor Ramón Jiménez
1480ab2030
Fix broken documentation links
2022-11-10 00:10:53 +01:00
Héctor Ramón Jiménez
277b848ad8
Remove window::Mode and introduce Settings::visible
...
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
2022-08-18 14:09:20 +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
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
4407385fbe
Make Element aliases in iced compatible with iced_native and iced_pure
2022-07-08 23:38:47 +02:00
Héctor Ramón Jiménez
48bc505cb6
Fix missing docs in iced crate
2022-07-08 23:20:25 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet
2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet
2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
...
... and remove `Application::background_color`
2022-05-25 05:01:18 +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 Jiménez
aecbd46123
Replace hecrj in links with iced-rs
2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation
2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
825c7749ff
Replace iced_web with WebGL support in wgpu 🎉
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
2f50d11461
Improve documentation of Application::run
2021-11-29 14:44:19 +07:00
Andreas Hofstadler
08c771fa70
Allow Application::run to return on native platforms
2021-11-29 14:41:05 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
f0686eae0e
Remove Clipboard export in iced
2021-09-02 13:47:03 +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
a2b1ba522a
Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithread
...
feat: expose draw_cache_multithread as a feature
2021-07-22 18:39:37 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings
2021-07-22 18:27:33 +07:00
Héctor Ramón Jiménez
c8ac77e4e9
Write documentation for menu method in Application
2021-07-19 21:05:16 +07:00
Héctor Ramón Jiménez
5df2a92f28
Force Application::Message to implement Clone
...
A `Message` should represent an application event (e.g. user
interactions, command results, subscription results...). Therefore, it
should always consist of pure, cloneable data.
2021-07-13 21:15:07 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3
2021-06-14 21:01:37 +03:00
Cory Forsstrom
84c0c9bc7a
use Mode::Hidden instead
2021-04-09 09:04:30 -07:00
Cory Forsstrom
cdab8f90fb
add window visibility
2021-04-08 12:58:08 -07:00
Héctor Ramón Jiménez
67db13ff7c
Add support for graceful exits in Application
...
- `Settings` now contains an `exit_on_close_request` field
- `Application` has a new `should_exit` method
2021-03-30 21:44:19 +02:00
Héctor Ramón Jiménez
883c7e71ae
Introduce internal_backend to iced_wgpu::Settings
2021-03-25 11:29:40 +01:00
Héctor Ramón Jiménez
7da3fb1b22
Implement stub Clipboard in iced_web
...
We need to figure out browser permissions and use of unstable `web-sys`
APIs
2021-03-11 03:52:41 +01: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
745aa49025
Update example links to point to 0.2 branch
2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
ae5a2502d6
Remove executor::Null from the root public API
...
Using an `Application` with `executor::Null` does not make sense, as the
whole purpose of an `Application` is to allow executing async actions.
When async actions are not needed, `Sandbox` should be used instead.
2020-10-17 08:46:16 +02: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
eec65a055f
Merge pull request #415 from hecrj/feature/configurable-scale-factor
...
Add `scale_factor` to `Application` and `Sandbox`
2020-06-20 19:20:37 +02:00
Héctor Ramón Jiménez
c9696ca687
Add scale_factor to Application and Sandbox
2020-06-19 19:17:05 +02:00