How 12zhan/huxerui works
HuxerUI is a declarative C++ UI framework: application code creates a root view, the shared runtime composes and lays it out, and a platform backend connects it to native windowing and rendering. The runtime also supports input, navigation, animation, text editing, accessibility, resources, and platform services. The graph preserves these documented capabilities and the sampled runtime/resource/text/backend layers. Some feature implementations and platform adapters were not sampled; their placement follows the repository tree, and documented links cite the README.
Main entry points: runtime.cpp Composition Runtime · app.cpp Application API · platform Native Platform Hosts · paint.cpp Paint and Geometry
Components 23
Application
- Application API
src/application/app.cpp - Window Lifecycle
src/application/window.cpp
UI Runtime
- Composition Runtime
src/runtime/runtime.cpp - UI Components
src/components - Responsive Layout
src/runtime/layout.cpp - Input and Gestures
src/runtime/gesture.cpp - Navigation
src/components/navigation.cpp - Animation
src/runtime/animation.cpp - Accessibility Semantics
src/runtime/semantics.cpp - Text Editing
src/text/text_input.cpp
Graphics and Resources
- Paint and Geometry
src/graphics/paint.cpp - App Resources
src/resources/resource.cpp
Platform Services
- File Services
src/io/file.cpp - HTTP Services
src/io/http.cpp - System Services
src/application/system_tray_internal.h
Platform Backends
- Platform Adapter
src/application/app.cpp - Android Accessibility
platform/android/huxerui/src/main/java/org/huxerui/HuxerUIAccessibilityProvider.java - Android View Host
platform/android/huxerui/src/main/java/org/huxerui/HuxerUIView.java - Windows Renderer
platform/windows/win32_renderer.cpp - Linux Renderer
platform/linux/linux_renderer.cpp - Web Renderer
platform/web/web_renderer.cpp - Native Platform Hosts
platform
Other components
- Application Code
Connections 31
- Application Code → Application API: defines root
README.md - Application API → Composition Runtime: starts runtime
README.md - Composition Runtime → UI Components: composes views
README.md - Composition Runtime → Responsive Layout: supports layout
README.md - Composition Runtime → Input and Gestures: handles input
README.md - Composition Runtime → Navigation: supports navigation
README.md - Composition Runtime → Animation: supports animation
README.md - Composition Runtime → Accessibility Semantics: provides semantics
README.md - Composition Runtime → Text Editing: supports text editing
README.md - Composition Runtime → App Resources: uses resources
src/runtime/runtime.cpp - Composition Runtime → Text Editing: uses text internals
src/runtime/runtime.cpp - Composition Runtime → Platform Adapter: uses platform services
src/runtime/runtime.cpp - Composition Runtime → Window Lifecycle: uses window state
src/runtime/runtime.cpp - Composition Runtime → Paint and Geometry: produces rendered UI
README.md - Paint and Geometry → App Resources: uses visual assets
- Application API → Platform Adapter: registers platform
src/application/app.cpp - Platform Adapter → Native Platform Hosts: connects host services
README.md - Native Platform Hosts → Windows Renderer: renders on Windows
README.md - Native Platform Hosts → Linux Renderer: renders on Linux
README.md - Native Platform Hosts → Web Renderer: renders on Web
README.md - Native Platform Hosts → Android View Host: hosts Android UI
README.md - Android View Host → Android Accessibility: uses accessibility provider
platform/android/huxerui/src/main/java/org/huxerui/HuxerUIView.java - Windows Renderer → Paint and Geometry: reads paint internals
platform/windows/win32_renderer.cpp - Windows Renderer → App Resources: reads resource internals
platform/windows/win32_renderer.cpp - Linux Renderer → Paint and Geometry: reads paint internals
platform/linux/linux_renderer.cpp - Linux Renderer → App Resources: reads resource internals
platform/linux/linux_renderer.cpp - Web Renderer → Paint and Geometry: reads paint internals
platform/web/web_renderer.cpp - Web Renderer → App Resources: reads resource internals
platform/web/web_renderer.cpp - Application API → File Services: offers file access
README.md - Application API → HTTP Services: offers HTTP access
README.md - Application API → System Services: offers system integration
README.md