feat(bar): bar item 扩展钩子功能 bar cell 添加 fixed_width 属性与操作接口
- item type 加入可为空的 after_layout 和 after_draw 钩子 - cell 加 fixed_width 属性, cell api 添加 cell_set_fixed_width 和 cell_get_region 两个接口 - cell api 改为 const 避免外部修改
This commit is contained in:
@@ -12,4 +12,4 @@ void bar_cell_set_region(
|
||||
bar_x_region_t region
|
||||
);
|
||||
|
||||
extern zdwm_bar_cell_api_t bar_cell_api;
|
||||
extern const zdwm_bar_cell_api_t bar_cell_api;
|
||||
|
||||
Reference in New Issue
Block a user