先查 ZufyUI.h 的包含关系,再定位具体实现。不要把兼容入口重新合并成单体头文件,也不要为解决局部问题改变框架线程模型。
正在准备文档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
先查 ZufyUI.h 的包含关系,再定位具体实现。不要把兼容入口重新合并成单体头文件,也不要为解决局部问题改变框架线程模型。