1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! ferroui-winui
//!
//! The framework's content inside a WinUI 3 (Windows App SDK) application:
//! [`FerroSwapChainPanel`], a `SwapChainPanel` the content renders into
//! through a composition swap chain of the Windows backend, with pointer,
//! keyboard and text input, cursors, drag and drop and automation.
//!
//! The design, the bindings, the threads and how it is tested are in
//! `docs/porting/winui.md`. The crate compiles on every host; what calls the
//! system is compiled for Windows only (`cfg(windows)`), and the logic that
//! maps values (keys, cursors, control types, pointer events, text) is
//! compiled, and tested, everywhere.
//!
//! An application initialises the Windows App SDK ([`WindowsAppSdk`]), sets
//! the framework up with the Windows backend and its ANGLE rendering mode
//! (the swap chain of the panel is created on ANGLE's Direct3D 11 device),
//! runs the XAML application ([`XamlApplication::start`]) and, from its
//! launch, puts a panel into a window of WinUI with the content it shows.
//! Once `Application.Start` has returned and the bootstrap is shut down, it
//! ends the process with [`end_process`], as the runtime of the reference
//! ends it (docs/porting/winui.md, section 7.7).
pub use FerroSwapChainPanel;
pub use ;
pub use ;
pub use WindowsAppSdk;
pub use ;