Files
MemRelay/projects/0017cd22-9dea-4f87-9595-fc050356ff3c/Checkpoint 2026-11-20 15-15-05 UTC [5d94db869c].md
T
memrelay 69d6ac5d30 create: Checkpoint 2026-11-20 15:15:05 UTC [5d94db869c]
MemRelay-Operation: checkpoint-save:uiframe-ckpt-20261120-choose-fltk
MemRelay-Resource: 19c7520d-9d56-411d-bcd9-7e8e952798f5
2026-11-20 23:15:09 +08:00

34 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-20 15:15:05 UTC [5d94db869c]
type: checkpoint
permalink: main/projects/0017cd22-9dea-4f87-9595-fc050356ff3c/checkpoint-2026-11-20-15-15-05-utc-5d94db869c
stable_id: 19c7520d-9d56-411d-bcd9-7e8e952798f5
scope: project
memory_type: checkpoint
project_id: 0017cd22-9dea-4f87-9595-fc050356ff3c
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: uiframe-ckpt-20261120-choose-fltk
created_at: '2026-11-20T15:15:05.758543+00:00'
updated_at: '2026-11-20T15:15:05.758543+00:00'
tags:
- ui
- fltk
- decision
- handoff
---
完成内容:在低消耗、跨平台、Python/Go/Rust 三个条件下选定 FLTK 1.4。仍未写代码。
原因:用户要求按这三个条件选一个库。空窗口同机 PSS 里 FLTK 2.6 MiB、Qt 6 Widgets 17.7 MiB。三语言绑定都对到 1.4:go-fltk 在 2026-05-22 锁定 FLTK 1.4.5,MIT,但是部分包装。FLTK 1.4.5(2026-04-25)覆盖 Windows、macOS、Linux 混合 Wayland/X11,带 HighDPI。
关键实现:无代码。选型约束已写入项目 decision。
验证:核对了 go-fltk 仓库说明、fltk-build.go 里的 tags/release-1.4.5,以及 FLTK 1.4.5 发布说明。没有在本机编译。
问题:Go 绑定不是完整 API,缺的函数要按需求补。
下一步:若用户要做原型,用同一个空窗口分别用 pyfltk、go-fltk、fltk-rs 在 Windows 上量内存和启动。界面要系统原生外观或虚拟化大列表时改选 Qt 6。
给下个会话:项目仍是空仓库 E:\\code\\UIFrame。已决定在低消耗+跨平台+三语言下用 FLTK 1.4,绑定分别是 pyfltk、go-fltk、fltk-rs。不要因为观感改推 Qt,除非用户把原生外观或复杂控件放到低消耗前面。go-fltk 缺 API 是预期内的,不要当成绑定坏了。