feat(gui): implement get_fontfaces
This commit is contained in:
parent
6faea2ef02
commit
4ca31b0f75
6 changed files with 95 additions and 2 deletions
|
|
@ -202,6 +202,10 @@ pub fn setMouseCursor(shape: vaxis.Mouse.Shape) void {
|
|||
wio.cancelWait();
|
||||
}
|
||||
|
||||
pub fn getFontName() []const u8 {
|
||||
return if (font_name_len > 0) font_name_buf[0..font_name_len] else "monospace";
|
||||
}
|
||||
|
||||
pub fn requestAttention() void {
|
||||
attention_pending.store(true, .release);
|
||||
wio.cancelWait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue