返回总入口。根据任务读取一个模块,再进入它引用的叶子文档。
核心
核心索引 → 生命周期与信号 / 布局与渲染。适用于创建窗口、连接事件、测量布局、处理 UI 线程与动画。
控件与外观
控件索引 → 控件选择与 DSL / 主题与样式。适用于基础控件、虚拟化数据视图、图表、样式绑定与主题。
调试与自动化
调试索引 → JSON 与 MCP。适用于检查元素树、读取统计、定位控件和验证样式。
正在准备文档Preparing your docsПодготовка документацииDokumentation wird geladenPréparation de la documentationPreparando la documentación
Start here · Full-text search
A few MB light, native-composition fast. A header-only, zero-dependency C++20 Windows UI framework built directly on Direct2D 1.1 + DirectComposition.
> 这份文件把散落在代码注释、HANDOFF.md、TODO.md 里的“坑”集中到一处。接手/使用前先扫一遍。 > 优先级:易错 = 违反必踩;注意 = 契约/限制,违反易出问题;约定 = 库的取向;不要 = 明确不做。 --- 1. 链式构造 DSL(ZufyUIDsl.h) | | 状态 |
> This document covers the entire public API of the ZufyUI framework, organized by usage category (not by code/header order). > Companion reading: [Pr
Colours and markers - Red block: Pitfall — real traps, counter-intuitive behaviour, and usage that can crash/UAF/race. Read these first. - Orange bloc
Minimal program cpp include "ZufyUI.h" include "ZufyUIWidgets.h" using namespace ZufyUI; int APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int) { //
Color cpp struct Color { float r, g, b, a; // components in [0,1], NOT 0..255 Color(float r=0, float g=0, float b=0, float a=1.0f); static Color FromA
When to use signals - Built-in ZSignal for control notifications (click, selection, value change). - Custom controls: declare your own ZSignal members
返回总入口。根据任务读取一个模块,再进入它引用的叶子文档。
核心索引 → 生命周期与信号 / 布局与渲染。适用于创建窗口、连接事件、测量布局、处理 UI 线程与动画。
控件索引 → 控件选择与 DSL / 主题与样式。适用于基础控件、虚拟化数据视图、图表、样式绑定与主题。
调试索引 → JSON 与 MCP。适用于检查元素树、读取统计、定位控件和验证样式。