mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 17:24:27 +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 the LanMountain custom title bar and normal app-window behavior.Borderlesshides the custom title bar while keeping a normal app window.FullScreenhides the custom title bar, removes rounded shell chrome, and enters fullscreen.Toolkeeps host-owned 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.