From 5558e3509d020a0e021a77f0617044497b2f2aee Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 17 Aug 2026 18:56:04 +0200 Subject: Windowed GUI: wm module, input routing, and the paint app - Add the wm window-manager facility per ADR 0004: overlapping pixel-surface windows, damage-rectangle compositing, WM-drawn title bar, focus/minimize/close, and F1-F4 keybindings - Add gop shadow compositing primitives and vt::repaint_region so the console stays layer 0 beneath windows - Route mouse (absolute coords, press/release edges) and keyboard (focus-aware input pump) to the focused window - Add the rspaint drawing-program crate (pen, 8 colors, clear) and shell draw/windows/restore commands - Extend TaskMsg with AppMouse/Focus/Close and document the design in CONTEXT.md + ADR 0004 --- rsdos/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rsdos') diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index 0e159e6..89df5ea 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs @@ -418,6 +418,11 @@ pub unsafe extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut // later, and prints the exact field values when it is. rsnix::vt::debug_verify(); + // Windowed GUI: initialise the window manager and its input pump. + // The console (vt) stays layer 0; GUI apps are windows composited on top. + rsnix::wm::init(); + rsnix::wm::spawn_input_pump(); + shell::run(); } -- cgit v1.2.3