ReAdd text shorting

This commit is contained in:
2025-12-18 21:51:48 +01:00
parent 803fa5cdb5
commit 1e35dbd743
2 changed files with 37 additions and 3 deletions

View File

@@ -103,6 +103,8 @@ class PD_LITHIUM_API Font {
PD::Li::Texture::Ref tex);
std::string pWrapText(const std::string& txt, float scale,
const PD::fvec2& max, PD::fvec2& dim);
std::string pShortText(const std::string& txt, float scale,
const PD::fvec2& max, PD::fvec2& dim);
/** Data Section */
int PixelHeight;