feat(bar): 新增 text 文字排版模块并将其集成到 bar 生命周期中
This commit is contained in:
9
src/bar/text.h
Normal file
9
src/bar/text.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct text_context_t text_context_t;
|
||||
|
||||
text_context_t *
|
||||
text_context_create(const char *family, uint32_t size, uint32_t dpi);
|
||||
void text_context_destory(text_context_t *context);
|
||||
Reference in New Issue
Block a user