feat(config): 添加配置窗口边框 API

This commit is contained in:
2026-05-01 19:07:21 +08:00
parent 3a830e864a
commit 1cfa2c4505
10 changed files with 179 additions and 15 deletions

View File

@@ -140,6 +140,21 @@ typedef struct zdwm_api_t {
zdwm_config_builder_t *builder,
zdwm_binding_mode_id_t mode_id
);
/**
* @brief 设置边框配置信息
*
* @param builder 配置构建上下文
* @param width 边框宽度
* @param normal 普通窗口边框颜色
* @param focused 焦点窗口边框颜色
*/
void (*set_border_config)(
zdwm_config_builder_t *builder,
uint32_t width,
const char *normal,
const char *focused
);
} zdwm_api_t;
/**