renderer: font size changed event, OpenGL impl

This commit is contained in:
Mitchell Hashimoto
2022-11-15 19:48:32 -08:00
parent 6ec5684c27
commit 657c8540c8
4 changed files with 84 additions and 21 deletions

View File

@@ -275,6 +275,10 @@ fn drainMailbox(self: *Thread) !void {
_ = try self.cursor_h.again();
}
},
.font_size => |size| {
try self.renderer.setFontSize(size);
},
}
}
}