update font loading and display

This commit is contained in:
scawful
2024-07-29 13:21:11 -04:00
parent a1bc11b34d
commit ba90505d22
2 changed files with 22 additions and 20 deletions

View File

@@ -250,7 +250,7 @@ class MessageEditor : public Editor,
bool mirror_x = false, bool mirror_y = false,
int sizex = 1, int sizey = 1);
void DrawCharacterToPreview(char c);
void DrawCharacterToPreview(std::vector<uint8_t> text);
void DrawCharacterToPreview(const std::vector<uint8_t>& text);
void DrawStringToPreview(string str);
void DrawMessagePreview();
@@ -295,7 +295,7 @@ class MessageEditor : public Editor,
gfx::Bitmap current_font_gfx16_bitmap_;
Bytes font_gfx16_data;
Bytes currentfontgfx16Ptr;
Bytes current_font_gfx16_data_;
gfx::SnesPalette font_preview_colors_;