feat(bar): 实现 bar 布局排版和渲染绘制流程

This commit is contained in:
2026-06-09 20:01:11 +08:00
parent fa2f058032
commit 4535e171a0
13 changed files with 318 additions and 109 deletions

View File

@@ -21,7 +21,7 @@ void draw_text(
cairo_t *cr,
text_context_t *context,
const char *text,
color_t *color,
const color_t *color,
zdwm_rect_t area
);
void draw_background(cairo_t *cr, color_t *color, zdwm_rect_t area);
void draw_background(cairo_t *cr, const color_t *color, zdwm_rect_t area);