feat(win32 gui): add set_fontface and set_fontsize commands
This commit is contained in:
parent
97cc7be97c
commit
7d138a742c
3 changed files with 72 additions and 1 deletions
|
@ -376,6 +376,16 @@ pub fn adjust_fontsize(self: *Self, amount: f32) void {
|
|||
gui.adjust_fontsize(hwnd, amount);
|
||||
}
|
||||
|
||||
pub fn set_fontsize(self: *Self, fontsize: f32) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.set_fontsize(hwnd, fontsize);
|
||||
}
|
||||
|
||||
pub fn set_fontface(self: *Self, fontface: []const u8) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.set_fontface(hwnd, fontface);
|
||||
}
|
||||
|
||||
pub fn set_terminal_cursor_color(self: *Self, color: Color) void {
|
||||
_ = self;
|
||||
_ = color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue