feat(win32 gui): add reset_fontsize and rest_fontface commands
This commit is contained in:
parent
a5622af68d
commit
6530a7a51c
5 changed files with 61 additions and 1 deletions
|
@ -381,11 +381,21 @@ pub fn set_fontsize(self: *Self, fontsize: f32) void {
|
|||
gui.set_fontsize(hwnd, fontsize);
|
||||
}
|
||||
|
||||
pub fn reset_fontsize(self: *Self) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.reset_fontsize(hwnd);
|
||||
}
|
||||
|
||||
pub fn set_fontface(self: *Self, fontface: []const u8) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.set_fontface(hwnd, fontface);
|
||||
}
|
||||
|
||||
pub fn reset_fontface(self: *Self) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.reset_fontface(hwnd);
|
||||
}
|
||||
|
||||
pub fn set_terminal_cursor_color(self: *Self, color: Color) void {
|
||||
_ = self;
|
||||
_ = color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue