Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 🪟 Multi Window 🪟 .. redux! #1964

Merged
merged 75 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
529589d
Introduce `multi_window` from `pure`
derezzedex Apr 1, 2022
287306e
Introduce `multi_window` in `iced_winit`
derezzedex Apr 1, 2022
b896e41
Unify `Application` and `Program`
derezzedex Apr 1, 2022
12538d3
Use map of windows internally
derezzedex Jun 15, 2022
5919325
Internally wrap `Message` with a `Event` enum
derezzedex Jun 15, 2022
00d6baf
fix: temporalily remove the unsafe pointer `HWND`
derezzedex Jun 15, 2022
8fdd5ee
Synchronize window list with `windows` method
derezzedex Jun 15, 2022
ec56c06
Introduce opaque `window::Id` type
derezzedex Jun 21, 2022
64e2153
Fix `multi_window` example
derezzedex Jun 28, 2022
97914da
what is this
derezzedex Jul 12, 2022
8f53df5
fix: temporarily add `window::Id` to
derezzedex Jul 14, 2022
01bad4f
duplicate `pane_grid` example to `multi_window`
derezzedex Jul 14, 2022
2fe58e1
add `window::Id` to `view`
derezzedex Jul 21, 2022
3d901d5
create multi-windowed `pane_grid` example
derezzedex Jul 21, 2022
35331d0
Allow closing the window from user code
derezzedex Jul 26, 2022
dc86bd0
Introduce `close_requested` for `multi-window`
derezzedex Jul 27, 2022
7f35256
Split `Surface` and `Window`
derezzedex Sep 15, 2022
974cc6b
Introduce `multi_window` to `iced_glutin`
derezzedex Sep 19, 2022
0ad53a3
add `window::Id` to `Event` and `Action`
derezzedex Sep 19, 2022
0644076
implement `multi_window` for `iced_glutin`
derezzedex Sep 21, 2022
ce43514
copy `multi_window::Event` from `iced_winit`
derezzedex Sep 21, 2022
a386788
use `glutin/multi_window` branch
derezzedex Sep 28, 2022
1bc0c48
move window settings to `iced_native`
derezzedex Oct 20, 2022
f93fa02
introduce `window::spawn` and `window::close`
derezzedex Oct 20, 2022
aa7164f
update `glutin` to 0.30
derezzedex Oct 31, 2022
0553062
update `iced_glutin` to use new surface api
derezzedex Oct 31, 2022
ac20f35
update `glutin\multi_window` to new surface api
derezzedex Nov 2, 2022
5e4e410
remove `windows` method (use commands instead)
derezzedex Nov 3, 2022
942f1c9
merged in iced master
bungoboingo Jan 2, 2023
f43419d
Fixed issue with window ID on winit
bungoboingo Jan 3, 2023
1944e98
Fix multi-window example for Glutin on MacOS
bungoboingo Jan 3, 2023
ec41918
Implemented window title update functionality for multiwindow.
bungoboingo Jan 5, 2023
3e5d34f
Formatting
bungoboingo Jan 9, 2023
f78ccd9
Removed glutin's individual multi_window state since 0.30+ doesn't ha…
bungoboingo Jan 9, 2023
790fa3e
Added tracing to multi_window applications
bungoboingo Jan 13, 2023
70d487b
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Jan 18, 2023
7e9a12a
New iced changes
bungoboingo Jan 18, 2023
0a64328
Added window::Id to multi_window application's scale_factor
bungoboingo Jan 19, 2023
367fea5
Redraw request events for multiwindow.
bungoboingo Feb 15, 2023
64e0e81
Widget operations for multi-window.
bungoboingo Feb 15, 2023
63fb608
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Feb 15, 2023
3c095aa
Merged in iced master
bungoboingo Feb 15, 2023
8da0983
Fixed widget animations implementation
bungoboingo Feb 17, 2023
744cef5
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Feb 17, 2023
2d42745
Iced master merge (again)
bungoboingo Feb 17, 2023
3aaf5d8
Fixed widget operations
bungoboingo Feb 17, 2023
9565b47
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Feb 20, 2023
bd58d5f
Cargo fix
bungoboingo Feb 20, 2023
50b9c77
Fixed state syncing issue with MW.
bungoboingo Feb 22, 2023
a131f11
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Feb 23, 2023
5129657
Merge remote-tracking branch 'iced-main/master' into feat/multi-windo…
bungoboingo Feb 28, 2023
e36daa6
Removed glutin MW support and reverted glutin changes back to Iced ma…
bungoboingo Feb 28, 2023
fa068b9
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Mar 13, 2023
8ba1843
Code cleanup, clearer comments + removed some unnecessary dupe;
bungoboingo Mar 13, 2023
ce4b2c9
Added simpler MW example
bungoboingo Mar 14, 2023
41836dd
Added per-window theme support.
bungoboingo Mar 16, 2023
633f405
Merge remote-tracking branch 'origin/master' into feat/multi-window-s…
bungoboingo Jul 12, 2023
d53ccc8
refactored window storage;
bungoboingo Jul 13, 2023
83c7870
Moved `exit_on_close_request` to window settings. This now controls w…
bungoboingo Jul 24, 2023
e09b4e2
Merge branch 'master' into feat/multi-window-support
hecrj Nov 29, 2023
6dca076
Use `workspace` dependency for `raw-window-handle`
hecrj Nov 29, 2023
abe13b5
Move `multi-window` feature before the `advanced` one
hecrj Nov 29, 2023
9b34b2a
Run `cargo fmt`
hecrj Nov 29, 2023
7def3ee
Fix `clippy` lints
hecrj Nov 29, 2023
6740c2c
Fix broken intra-doc links
hecrj Nov 29, 2023
8c4e7d8
Fix `renderer` method in `iced_renderer::Compositor`
hecrj Nov 29, 2023
ac12d2d
Remove unnecessary unsafe `Send` marker in `iced_winit`
hecrj Nov 29, 2023
3b39ba7
Fix unused import in `multi_window::application`
hecrj Nov 29, 2023
d34bc4e
Refactor event loop <-> instance communication in `multi_window`
hecrj Nov 29, 2023
9f29aec
Move `Event` and `Control` types after `multi_window::run`
hecrj Nov 29, 2023
6740831
Use actual floats for logical coordinates
hecrj Nov 30, 2023
ea42af7
Use `AtomicU64` for `window::Id`
hecrj Dec 2, 2023
b152ecd
Separate `Compositor::new` from `Compositor::create_renderer`
hecrj Dec 2, 2023
31cccd8
Remove unnecessary re-exports in `iced_winit`
hecrj Dec 2, 2023
5c5e765
Refactor `Windows` abstraction into `WindowManager`
hecrj Dec 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added simpler MW example
  • Loading branch information
bungoboingo committed Mar 14, 2023
commit ce4b2c93d9802dfb8cd3fc9033d76651d4bbc75b
8 changes: 2 additions & 6 deletions examples/multi_window/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
[package]
name = "multi_window"
version = "0.1.0"
authors = ["Richard Custodio <richardsoncusto@gmail.com>"]
authors = ["Bingus <shankern@protonmail.com>"]
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced = { path = "../..", features = ["debug", "multi-window", "tokio"] }
env_logger = "0.10.0"
iced_native = { path = "../../native" }
iced_lazy = { path = "../../lazy" }
iced = { path = "../..", features = ["debug", "multi-window"] }
Loading