Run the simulation in a fixed 800x600 world and map it into the widget with an object-fit: contain viewport, so rendering and mouse hit testing share one transform. Derive the draw scale from the canvas buffer and content box because the global scale read in the timer callback does not match the buffer DPI. Let the canvas fill the window instead of a fixed size and keep the fabric world unchanged on resize.
win.sdk.application was added globally in examples/xmake.lua, so doc-viewer-tests inherited the GUI subsystem and failed to link with WinMain. Scope the rule to the GUI example targets instead.
- add the window API and lifecycle design specs
- lcui_init no longer creates a window; settings loading is explicit
- add lcui_window_* create/bind/geometry/state/show/close api
- replace display modes with window options and quit-on-last-window
- add per-window event scopes and window-based pointer/keyboard routing
- keep pending updates for widgets appended during a frame
- migrate examples, tests, previews and internals docs
- remove default-scope focus and mouseover getters
- Add examples/doc-viewer, an LCUI-based documentation viewer with an
MDX compiler pipeline that converts source MDX files into C/TSX
page components rendered by lcui build.
- Add zh-CN and en documentation for 5 widgets (anchor, button,
scrollarea, text, text-input), each with C/TSX/XML example variants
and widget-fields data.
- Add handbook and overview documentation.
Co-authored-by: Liu <lc-soft@live.cn>