feat(win32 gui): add adjust_fontsize command to zoom in/out

This commit is contained in:
CJ van den Berg 2025-01-09 20:08:12 +01:00
parent fd86653db1
commit 5300e3346d
4 changed files with 76 additions and 29 deletions

View file

@ -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;