Finished implementing refresh in a separate thread.

This commit is contained in:
2026-05-03 17:32:05 +01:00
parent ca0003edfd
commit 3973ff94b0
7 changed files with 88 additions and 34 deletions
+8
View File
@@ -1,3 +1,11 @@
use sdl3::{Sdl, render::Canvas, ttf::Font, video::Window};
pub struct Screen<'a> {
pub(crate) canvas: Box<Canvas<Window>>,
pub(crate) font: Box<Font<'a>>,
pub(crate) context: Box<Sdl>
}
pub struct Prefs {
pub font_path: String,