Héctor Ramón Jiménez
b152ecda63
Separate Compositor::new from Compositor::create_renderer
2023-12-02 20:49:47 +01: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
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
3b7d479534
Implement Command::run for executing a Stream to completion
2023-11-29 00:12:48 +01:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor
2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Yuri Astrakhan
3d6b9637c3
Chore: Inline format args for ease of reading
...
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
e7326f0af6
Flesh out the editor example a bit more
2023-09-18 19:07:41 +02:00
Bingus
83c7870c56
Moved exit_on_close_request to window settings. This now controls whether each INDIVIDUAL window should close on CloseRequested events.
2023-07-24 14:32:59 -07:00
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Bingus
633f405f3f
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
...
# Conflicts:
# Cargo.toml
# core/src/window/icon.rs
# core/src/window/id.rs
# core/src/window/position.rs
# core/src/window/settings.rs
# examples/integration/src/main.rs
# examples/integration_opengl/src/main.rs
# glutin/src/application.rs
# native/src/subscription.rs
# native/src/window.rs
# runtime/src/window/action.rs
# src/lib.rs
# src/window.rs
# winit/Cargo.toml
# winit/src/application.rs
# winit/src/icon.rs
# winit/src/settings.rs
# winit/src/window.rs
2023-07-12 12:23:18 -07:00
Héctor Ramón
7f805bc5dd
Merge pull request #1927 from thunderstorm010/master
...
Add command to retrieve window size
2023-07-06 07:00:15 +02:00
Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions
2023-07-06 06:41:28 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
...
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module
2023-06-27 19:41:03 +02:00
Yiğit Özdemir
b394c84b37
Add FetchSize command - apply the changes discussed at #water-cooler
2023-06-22 18:28:32 +03:00
Yiğit Özdemir
21a71b753d
Add command to retrieve window size
2023-06-21 19:43:20 +03:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level
2023-06-08 20:35:40 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command.
2023-06-06 15:37:30 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level
2023-05-25 23:18:50 +02:00
Nico Burns
a5fbfe7ea5
Update to winit 0.28
2023-05-11 17:00:08 +01:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Night_Hunter
5a056ce051
add action set icon while running ( #1590 )
...
* set windows icon live action
* change get icon to insto raw
* remove mobile docs
* format
* fix format
* add file methods to Icon
* Rename action to `ChangeIcon` and tidy up `Icon` modules
* Fix documentation of `icon::Error`
* Remove unnecessary `\` in `icon` documentation
* Remove `etc.` from `Icon` documentation
---------
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-04-12 06:47:53 +00:00
traxys
0231ed6f1d
winit: Fix replacement of node in wasm
...
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node
It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
2023-03-20 00:20:45 +01:00
Bingus
8ba1843080
Code cleanup, clearer comments + removed some unnecessary dupe;
...
Removed `Frames` struct return for `window::frames()` since we are just redrawing every window anyways;
Interface dropping;
2023-03-13 14:16:45 -07:00
Bingus
fa068b904a
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
2023-03-13 13:23:45 -07: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
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +01: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
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe
2023-03-05 04:15:10 +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
Bingus
b2a9a1e73c
Fixed fullscreen only being possible on primary monitor.
2023-03-02 08:31:39 -08:00
bungoboingo
e36daa6f93
Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak.
2023-02-28 13:44:36 -08:00
bungoboingo
51296572c0
Merge remote-tracking branch 'iced-main/master' into feat/multi-window-support
...
# Conflicts:
# glutin/src/application.rs
# winit/src/icon.rs
2023-02-28 13:08:30 -08:00
Héctor Ramón Jiménez
535d7a4d57
Implement basic presentation with softbuffer for iced_tiny_skia
2023-02-25 16:05:42 +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
238154af4a
Implement font::load command in iced_native
2023-02-24 13:29:11 +01:00
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays
2023-02-23 09:31:48 -08:00
Bingus
744cef5608
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
...
# Conflicts:
# winit/src/window.rs
2023-02-17 11:45:34 -08:00
Night_Hunter
9f75f01ddb
add action to get window id
2023-02-17 13:45:51 +01:00
Héctor Ramón Jiménez
df861d9ece
Rename SetAlwaysOnTop to ChangeAlwaysOnTop
2023-02-17 13:22:45 +01:00
Night_Hunter
095ecf016b
update docs and change to SetAlwaysOnTop
2023-02-17 13:20:07 +01:00
Night_Hunter
d1d13f6f16
add always on top action
2023-02-17 13:17:59 +01:00
Bingus
63fb608d8b
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
...
# Conflicts:
# native/src/command/action.rs
# native/src/window/action.rs
# winit/src/window.rs
2023-02-15 14:55:02 -08:00
Héctor Ramón Jiménez
9506fb1181
Hide window until Renderer has been initialized
2023-02-11 03:06:42 +01:00
Héctor Ramón Jiménez
ecc5bfaeff
Improve consistency of window::Action
2023-01-31 04:53:00 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07:00
Bingus
7e9a12a4aa
New iced changes
2023-01-18 15:18:45 -08:00