diff options
Diffstat (limited to 'src/FbTk/XFontImp.hh')
-rw-r--r-- | src/FbTk/XFontImp.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/XFontImp.hh b/src/FbTk/XFontImp.hh index 3ba027c..ccebbb7 100644 --- a/src/FbTk/XFontImp.hh +++ b/src/FbTk/XFontImp.hh | |||
@@ -32,11 +32,11 @@ public: | |||
32 | explicit XFontImp(const char *filename = 0); | 32 | explicit XFontImp(const char *filename = 0); |
33 | ~XFontImp(); | 33 | ~XFontImp(); |
34 | bool load(const std::string &filename); | 34 | bool load(const std::string &filename); |
35 | unsigned int textWidth(const FbString &text, unsigned int size) const; | 35 | unsigned int textWidth(const char* text, unsigned int len) const; |
36 | unsigned int height() const; | 36 | unsigned int height() const; |
37 | int ascent() const; | 37 | int ascent() const; |
38 | int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; } | 38 | int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; } |
39 | void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient); | 39 | void drawText(const FbDrawable &w, int screen, GC gc, const char* text, size_t len, int x, int y, FbTk::Orientation orient); |
40 | 40 | ||
41 | bool validOrientation(FbTk::Orientation orient); | 41 | bool validOrientation(FbTk::Orientation orient); |
42 | 42 | ||