feat(win32 gui): add adjust_fontsize command to zoom in/out
This commit is contained in:
parent
fd86653db1
commit
5300e3346d
4 changed files with 76 additions and 29 deletions
|
@ -371,6 +371,11 @@ fn update_window_style(self: *Self) void {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn adjust_fontsize(self: *Self, amount: f32) void {
|
||||
const hwnd = self.hwnd orelse return;
|
||||
gui.adjust_fontsize(hwnd, amount);
|
||||
}
|
||||
|
||||
pub fn set_terminal_cursor_color(self: *Self, color: Color) void {
|
||||
_ = self;
|
||||
_ = color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue