阅读路径:API 的基础控件、选择输入、容器、数据视图、图表、主题及 DSL 章节,再定位相关类实现。扩展可选功能时保留头文件包含边界。
正在准备文档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
阅读路径:API 的基础控件、选择输入、容器、数据视图、图表、主题及 DSL 章节,再定位相关类实现。扩展可选功能时保留头文件包含边界。