feat(bar): 实现 bar 初始化和清理功能并将其集成到 runtime 中

This commit is contained in:
2026-06-08 01:21:19 +08:00
parent 87535835a8
commit 3a8c392d90
4 changed files with 95 additions and 0 deletions

View File

@@ -28,3 +28,6 @@ typedef struct bar_t {
zdwm_bar_config_t config;
bar_palette_t palette;
} bar_t;
void bar_init(bar_t *bar);
void bar_cleanup(bar_t *bar);