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.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/XmbFontImp.hh b/src/FbTk/XmbFontImp.hh
index ac9f0ee..cba6001 100644
--- a/src/FbTk/XmbFontImp.hh
+++ b/src/FbTk/XmbFontImp.hh
@@ -42,10 +42,11 @@ public:
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; }
44 bool loaded() const { return m_fontset != 0; } 44 bool loaded() const { return m_fontset != 0; }
45 bool utf8() const { return m_utf8mode; }
45private: 46private:
46 XFontSet m_fontset; 47 XFontSet m_fontset;
47 XFontSetExtents *m_setextents; 48 XFontSetExtents *m_setextents;
48 const bool m_utf8mode; 49 bool m_utf8mode;
49}; 50};
50 51
51} // end namespace FbTk 52} // end namespace FbTk