feat(win32 gui): read fontface and size from gui_config

This commit is contained in:
CJ van den Berg 2025-01-08 15:06:53 +01:00
parent 1acc9b107e
commit 9e4e81eb0d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
8 changed files with 61 additions and 14 deletions

View file

@ -134,7 +134,10 @@ pub fn stop(self: *Self) void {
// the window is created and we call dispatch_initialized
const hwnd = self.hwnd orelse unreachable;
gui.stop(hwnd);
if (self.thread) |thread| thread.join();
if (self.thread) |thread| {
thread.join();
self.thread = null;
}
}
pub fn stdplane(self: *Self) Plane {