mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 15:44:25 +08:00
1.1 KiB
1.1 KiB
Air APP Window Chrome
Goal
Give Air APPs explicit window chrome modes so title bars, fullscreen windows, borderless windows, tool windows, and future background-only apps are configured by the Air APP host instead of ad hoc component code.
Behavior
- Air APP host resolves an
AirAppWindowDescriptorfrom launch options before creating content. - Supported chrome modes are
Standard,Borderless,FullScreen,Tool, andBackgroundOnly. Standarduses FluentAvaloniaFAAppWindowtitle-bar chrome and normal app-window behavior.Borderlessremoves title-bar chrome while keeping a normal app window surface.FullScreenremoves title-bar chrome and enters fullscreen.Toolkeeps FluentAvalonia title-bar chrome but disables resizing and hides the taskbar entry.BackgroundOnlyis reserved for a later background Air APP lifecycle and is not used by built-in v1 apps.- Built-in
world-clockusesStandard; built-inwhiteboardusesFullScreen.
Out of Scope
- Third-party plugin Air APP declarations.
- Replacing Launcher lifecycle IPC.
- Moving title-bar rendering into desktop components.