Skip to content

Extend SwiftUI compatibility and render Windows controls at native DPI - #2

Merged
lijy91 merged 3 commits into
mainfrom
codex/dazzui-windows
Nov 13, 2026
Merged

lijy91 merged 3 commits into
mainfrom
codex/dazzui-windows

Conversation

@lijy91

@lijy91 lijy91 commented Nov 13, 2026

Copy link
Copy Markdown
Member

Add generic SwiftUI layout, state, styling, input, and presentation support for desktop applications. On Windows, draw into a shared native-DPI framebuffer while preserving native control input, focus, and activation.

Publish through nativeapi's coalesced update API, retain unchanged subtrees, and reuse scroll pixels when safe. Grid relayout reconciles rebuilt descendants so each animation retains the right node identity. All runtime and drawing changes are application independent.

Depends on libnativeapi/nativeapi#34. CI pins the tested nativeapi revision so the Windows backend can build during review.

Validation: 58 Windows Release tests passed, including retained Grid identity, native-DPI drawing, hover, and exact pixel comparisons for cached scrolling. The full downstream Windows Gallery built and ran in Release. macOS and Linux validation is left to CI.

Add generic layout, styling, state, input and presentation APIs. Keep stable node identities across Grid relayout, reuse unchanged subtrees and scroll pixels, and publish Windows drawing through nativeapi view updates.
@lijy91
lijy91 merged commit 57356fc into main Nov 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant