Sheet 7/10 — Platform · Windowing
mzWin
Create a window on any OS through one abstract API.
| Layer | Platform · Windowing |
|---|---|
| Language | C |
| Targets | X11 · Win32 · Cocoa · mz protocol (mzOS2) |
| Depends on | — (foundation) |
| Used by | zui3d |
| Organization | microZeus |
| Source | Private alpha — opens with a change order on this site’s log |
General notes
mzWin is a cross-platform window helper library: one abstract API that opens native windows on X11, Win32, and macOS. It handles the platform-specific ceremony of window creation, surfaces, and event delivery so that the layers above never contain an #ifdef per operating system.
Bill of materials — what’s in the box
- One API across X11, Win32, and macOS (Cocoa)
- Ported onto the mz protocol — runs as a client on mzOS2’s mzwm compositor (mzOS backend)
- Pairs with mzVKI to produce Vulkan-ready surfaces
- Small pure-C codebase — four source files of platform glue