|
|
3d258bdc8b
|
feat(bar): 将 tray 作为一个 item 集成到 bar 中
|
2026-07-18 18:23:52 +08:00 |
|
|
|
079f41ce8a
|
refactor: 从 core 中抽出跨模块契约建立 interface/common 模块分层
引入 interface/(零实现声明层)与 common/(共享 ADT 操作层),把跨模块
契约从 core 实现里抽出来,依赖方向回到单向(base ← interface ← common ←
各实现层)。docs/module-layering.org 记录完整方案与判定标准。
interface/(纯类型与多态接口声明,零 .c):
- types.h / event.h / backend.h 从 core 移入
- effect.h 新建(effect_t 从 plan.h 抽出)
common/(多实现层共用的自包含操作,.h + .c):
- event.{h,c}:event_reset / event_cleanup
- listeners.{h,c}:listeners 维护(add / cleanup);notify 留 core
- window.{h,c}:window_list + layer_props/metadata cleanup + window_classify_layer
- workspace.{h,c}:workspace_desc(从 wm_desc.h 拆出,改真实函数)
window 相关整理:
- window_layer_type_t 上浮 interface/types.h(common 的 classify 需要)
- window_classify_layer 移 common/window
- window_info_t 独立成 core/window_info.h(state/command 共享,不寄生)
- 删除 wm_desc.h,base/window_list 并入 common/window
全项目 include 路径同步更新
|
2026-06-25 03:00:30 +08:00 |
|
|
|
8f671bd755
|
feat: bar 点击回调添加按键和修饰键参数
on_click 新增 modifiers/button,使 bar item 可按按键与修饰键区分动作;
因参数增多,回调与 bar_click 改用结构参数封装。同时将 button_t 与
modifier 类型提升至公开头 include/zdwm/types.h 以供使用
|
2026-06-23 07:42:52 +08:00 |
|
|
|
42bddf5ac7
|
feat: 让 bar 支持点击触发动作
|
2026-06-23 06:57:38 +08:00 |
|
|
|
30e9751119
|
perf(bar): 仅在 bar 需要绘制新内容时才重绘并 flush 后端
|
2026-06-15 23:27:28 +08:00 |
|
|
|
dbbbbce379
|
feat(runtime): 用基于 poll 的事件循环代替阻塞式事件等待
|
2026-06-10 01:26:05 +08:00 |
|
|
|
4535e171a0
|
feat(bar): 实现 bar 布局排版和渲染绘制流程
|
2026-06-09 20:01:11 +08:00 |
|
|
|
8c145fb1b4
|
feat(bar): 实现 bar_draw 渲染骨架及文字排版绘制接口
|
2026-06-08 22:57:34 +08:00 |
|
|
|
62f6bab611
|
feat(bar): 新增 text 文字排版模块并将其集成到 bar 生命周期中
|
2026-06-08 01:24:49 +08:00 |
|
|
|
3a8c392d90
|
feat(bar): 实现 bar 初始化和清理功能并将其集成到 runtime 中
|
2026-06-08 01:21:19 +08:00 |
|
|
|
b510b7b473
|
feat(bar): 初始化 bar 窗口并将 bar 集成到 runtime 启动流程中
|
2026-06-06 09:23:15 +08:00 |
|
|
|
adf839bf21
|
feat(bar): 实现 bar 可见性切换 action
|
2026-06-06 04:44:56 +08:00 |
|
|
|
ff40b3caa0
|
feat(bar): 添加状态栏 bar 模块的基础架构和 workspace 指示器
|
2026-06-05 02:23:01 +08:00 |
|