Start Implement AutoSizing into UI7

This commit is contained in:
2024-02-20 20:35:31 +01:00
parent 168614d579
commit 33bb37be06
6 changed files with 24 additions and 4 deletions

View File

@@ -109,6 +109,8 @@ void TextFont(Font fnt) { rd7i_d2_fnt = fnt.ptr(); }
void TextDefaultFont() { rd7i_d2_fnt = rd7i_base_font; }
float TextGetSize() { return rd7i_d2_txt_size; }
std::string TextShort(const std::string &in, int max_len) {
return GetShortedText(in, max_len);
}