aboutsummaryrefslogtreecommitdiff
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 e2f916a..d3e586a 100644
--- a/src/FbTk/XmbFontImp.hh
+++ b/src/FbTk/XmbFontImp.hh
@@ -32,8 +32,8 @@ public:
32 XmbFontImp(const char *fontname, bool utf8); 32 XmbFontImp(const char *fontname, bool utf8);
33 ~XmbFontImp(); 33 ~XmbFontImp();
34 bool load(const std::string &name); 34 bool load(const std::string &name);
35 virtual void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient); 35 virtual void drawText(const FbDrawable &w, int screen, GC gc, const char* text, size_t len, int x, int y, FbTk::Orientation orient);
36 unsigned int textWidth(const FbString &text, unsigned int len) const; 36 unsigned int textWidth(const char* text, unsigned int len) const;
37 unsigned int height() const; 37 unsigned int height() const;
38 int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; } 38 int ascent() const { return m_setextents ? -m_setextents->max_ink_extent.y : 0; }
39 int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; } 39 int descent() const { return m_setextents ? m_setextents->max_ink_extent.height + m_setextents->max_ink_extent.y : 0; }