1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-06 06:10:45 +00:00

Add Lua functions (+ related text class changes):

- text_getHeight()
- getUserInputString()
This commit is contained in:
fgenesis 2013-12-12 23:14:17 +01:00
commit 201b3a76bc
5 changed files with 21 additions and 1 deletions

View file

@ -33,6 +33,7 @@ public:
void setFontSize(int sz);
int getNumLines() { return lines.size(); }
virtual void setAlign(Align align);
virtual float getHeight();
protected:
int fontDrawSize, textWidth;
void formatText();