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

Add Lua function text_getStringWidth()

This commit is contained in:
fgenesis 2015-03-08 20:43:41 +01:00
commit b70de7f94b
6 changed files with 53 additions and 1 deletions

View file

@ -14,6 +14,7 @@ public:
virtual void setFontSize(int sz) = 0;
virtual void setAlign(Align a) = 0;
virtual float getHeight() = 0;
virtual float getStringWidth(const std::string& text) = 0;
};