Text parser progress, add missing OSFont.c file

This commit is contained in:
2024-10-22 16:12:41 -07:00
parent cc524f13d4
commit a425ca9b42
14 changed files with 572 additions and 40 deletions

View File

@@ -2,6 +2,7 @@
#define _CFONTRENDERSTATE
#include "Kyoto/Text/CDrawStringOptions.hpp"
#include "Kyoto/Text/CRasterFont.hpp"
#include "Kyoto/Text/CSaveableState.hpp"
#include "Kyoto/Text/TextCommon.hpp"
@@ -17,6 +18,7 @@ public:
void RefreshPalette();
CDrawStringOptions& GetOptions() { return x0_state.GetOptions(); }
TToken< CRasterFont >& GetFont() { return x0_state.GetFont(); }
void SetFont(const TToken<CRasterFont>& font) { x0_state.SetFont(font); }
rstl::vector< CTextColor >& GetColors() { return x0_state.GetColors(); }
rstl::vector< bool >& GetOverride() { return x0_state.GetOverride(); }
void SetLineSpacing(float spacing) { x0_state.SetLineSpacing(spacing); }