Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application
2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature
2024-03-22 05:27:31 +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
d6454b5d0c
Rename fetch_location to fetch_position
2024-02-22 09:19:51 +01:00
Night_Hunter
59885e9a36
Add fetch_location command to window module
2024-02-22 09:16:05 +01:00
Héctor Ramón Jiménez
be2cad176f
Fix URL of graph image in iced_runtime docs
2024-02-15 03:33:43 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch
2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
f1c5186e79
Rename show_window_menu to show_system_menu
2024-02-13 04:52:13 +01:00
Ian Douglas Scott
f93a6d740a
Add show_window_menu action
...
Winit currently supports this only on Windows and Wayland.
This requests that a context menu is shown at the cursor position,
like the menu normally triggered by right clicking the title bar. This
is important for implementing client side decorations with Iced widgets.
2024-02-13 04:45:07 +01:00
Héctor Ramón Jiménez
508b3fe1f1
Introduce Kind in core::clipboard
2024-02-13 03:15:21 +01:00
Mattias Eriksson
4155edab8d
Add support for primary clipboard
2024-02-13 03:14:30 +01:00
Héctor Ramón Jiménez
2a544dca2f
Fix documentation of Action::RunWithHandle
2024-02-07 09:49:19 +01:00
Héctor Ramón Jiménez
f18a81451f
Rename fetch_native_handle to run_with_handle in window
2024-02-07 09:47:15 +01:00
dtzxporter
7105992228
Re-implement against latest iced master. Rename FetchNativeHandle.
2024-02-07 09:35:13 +01:00
Héctor Ramón Jiménez
ece50a1a95
Organize imports in runtime::command::action
2024-02-03 15:12:07 +01:00
Héctor Ramón Jiménez
2656906903
Rename PlateformSpecific variant in Action to Custom
2024-02-03 15:10:45 +01:00
ShootingStarDragons
6e97595d95
feat: somewhere to place extra actions by platform
...
I have view iced-sckt forked iced, and add the extra actions. and there
do are some extra actions, like set margin for layer-shell, set lock for
ext-session-shell. I think add an any will be of help maybe
2024-02-03 14:54:59 +01:00
brianch
701bf22af6
The memory information is returned in bytes and not kb.
...
Fix the documentation of the Information struct, and the example
system_information that uses it.
Co-authored-by: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com>
2024-02-02 16:02:17 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element
2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type
2024-01-21 17:56:01 +01:00
Calastrophe
2aa2b1712d
Implemented fetch_maximized and fetch_minimized
2024-01-09 02:43:25 -06:00
Héctor Ramón Jiménez
ea42af766f
Use AtomicU64 for window::Id
2023-12-02 20:41:58 +01:00
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates
2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
6740c2c5d6
Fix broken intra-doc links
2023-11-29 22:46:47 +01:00
Héctor Ramón Jiménez
7def3ee38a
Fix clippy lints
2023-11-29 22:37:54 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support
2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
a761448858
Implement command::channel helper
...
It is analogous to `subscription::channel`.
2023-11-29 00:14:27 +01:00
Héctor Ramón Jiménez
3b7d479534
Implement Command::run for executing a Stream to completion
2023-11-29 00:12:48 +01:00
Héctor Ramón Jiménez
a1439071d6
Remove unused position argument in overlay::Nested
2023-11-21 18:53:31 +01:00
Héctor Ramón Jiménez
25006b9c6f
Fix Overlay composition
...
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Ian Douglas Scott
e0233ebc3c
Fix Command<T>::perform to return a Command<T>
...
This seems like clearly the correct thing to do here. If the type bound
on `Command` isn't specified, it makes no difference, since the generic
is inferred in a way that works with either definition. But this is
important if `Command<T>` is aliased with a concrete type.
2023-10-18 17:34:16 -05:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml
2023-09-20 16:40:03 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Héctor Ramón
e8b01eb543
Merge pull request #2092 from nyurik/clippy
...
Chore: Apply some minor clippy fixes
2023-09-19 13:30:51 +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
Yuri Astrakhan
c6554d9907
Chore: Apply clippy docs keyword quoting
...
Add quotes a number of doc strings like `sRGB`
2023-09-19 01:50:05 -04:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching
2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI
2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2
Fix majority of unresolved documentation links
2023-09-09 18:59:17 +02:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
...
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
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
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
a026e917d3
Make widget::Tree mutable in Widget::layout
2023-08-30 06:36:24 +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
8ed06dc356
Fix clippy lints for Rust 1.72
2023-08-26 01:34:42 +02:00
Héctor Ramón Jiménez
dd6d887558
Bump version of iced_runtime 🎉
2023-08-02 22:44:55 +02:00
Ryan Scheidter
b9e00590b9
Update README.md to reflect native->runtime rename
2023-08-02 22:28:09 +02:00
Héctor Ramón Jiménez
d6c6d07dda
Fix iced_runtime description
2023-07-28 19:49:36 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +02:00
Cory Forsstrom
2a05ef9601
Don't clip raw overlay bounds
...
User interface wraps the overlay in `overlay::Nested`.
Clipping here w/ the base Nested overlay always clipped
at (0, 0) position instead of the correct position of
the child overlay. It's clipped properly already within
`Nested::draw`.
2023-07-24 09:26:24 -07:00