diff options
Diffstat (limited to 'src/FbTk/XftFontImp.hh')
-rw-r--r-- | src/FbTk/XftFontImp.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/XftFontImp.hh b/src/FbTk/XftFontImp.hh index 3d2dc55..fd24762 100644 --- a/src/FbTk/XftFontImp.hh +++ b/src/FbTk/XftFontImp.hh | |||
@@ -34,8 +34,8 @@ public: | |||
34 | XftFontImp(const char *fontname, bool utf8); | 34 | XftFontImp(const char *fontname, bool utf8); |
35 | ~XftFontImp(); | 35 | ~XftFontImp(); |
36 | bool load(const std::string &name); | 36 | bool load(const std::string &name); |
37 | void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y , FbTk::Orientation orient); | 37 | void drawText(const FbDrawable &w, int screen, GC gc, const char* text, size_t len, int x, int y , FbTk::Orientation orient); |
38 | unsigned int textWidth(const FbString &text, unsigned int len) const; | 38 | unsigned int textWidth(const char* text, unsigned int len) const; |
39 | unsigned int height() const; | 39 | unsigned int height() const; |
40 | int ascent() const { return m_xftfonts[0] ? m_xftfonts[0]->ascent : 0; } | 40 | int ascent() const { return m_xftfonts[0] ? m_xftfonts[0]->ascent : 0; } |
41 | int descent() const { return m_xftfonts[0] ? m_xftfonts[0]->descent : 0; } | 41 | int descent() const { return m_xftfonts[0] ? m_xftfonts[0]->descent : 0; } |