diff options
Diffstat (limited to 'libjin/Graphics/Font.h')
-rw-r--r-- | libjin/Graphics/Font.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjin/Graphics/Font.h b/libjin/Graphics/Font.h index 34e53c8..2a1032c 100644 --- a/libjin/Graphics/Font.h +++ b/libjin/Graphics/Font.h @@ -77,9 +77,9 @@ namespace graphics int getCharWidth(int c); int getCharHeight(int c); - int getTextWidth(const char* text); - int getTextHeight(const char* text); - void getTextBox(const char* text, int* w, int* h); + int getTextWidth(const char* text, int spacing = 0); + int getTextHeight(const char* text, int lineheight); + void getTextBox(const char* text, int* w, int* h, int lineheight, int spacing = 0); int textureWidth; int textureHeight; |