summaryrefslogtreecommitdiff
path: root/src/FbTk/XmbFontImp.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/XmbFontImp.hh')
-rw-r--r--src/FbTk/XmbFontImp.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/XmbFontImp.hh b/src/FbTk/XmbFontImp.hh
index 4a8f20b..0c8e1a1 100644
--- a/src/FbTk/XmbFontImp.hh
+++ b/src/FbTk/XmbFontImp.hh
@@ -36,8 +36,8 @@ public:
36 XmbFontImp(const char *fontname, bool utf8); 36 XmbFontImp(const char *fontname, bool utf8);
37 ~XmbFontImp(); 37 ~XmbFontImp();
38 bool load(const std::string &name); 38 bool load(const std::string &name);
39 virtual void drawText(const FbDrawable &w, int screen, GC gc, const char *text, size_t len, int x, int y, FbTk::Orientation orient) const; 39 virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const;
40 unsigned int textWidth(const char * const text, unsigned int len) const; 40 unsigned int textWidth(const FbString &text, unsigned int len) const;
41 unsigned int height() const; 41 unsigned int height() const;
42 int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; } 42 int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; }
43 int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; } 43 int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; }