Big refactor new layout

This commit is contained in:
Krzosa Karol
2025-12-06 19:12:06 +01:00
parent e6e1ae0223
commit 88a5adaa0a
12 changed files with 182 additions and 737 deletions

View File

@@ -398,6 +398,6 @@ void ReloadFont() {
Scratch scratch;
Atlas atlas = CreateAtlas(scratch, {2048, 2048});
PrimaryFont = CreateFont(&atlas, (uint32_t)ClampBottom(2u, (U32)StyleFontSize), StyleFont);
SecondaryFont = CreateFont(&atlas, 10, StyleFont);
SecondaryFont = CreateFont(&atlas, 12, StyleFont);
SecondaryFont.texture_id = PrimaryFont.texture_id = UploadAtlas(&atlas);
}