aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XFontImp.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/XFontImp.hh')
-rw-r--r--src/FbTk/XFontImp.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/XFontImp.hh b/src/FbTk/XFontImp.hh
index 02f17ee..d491a07 100644
--- a/src/FbTk/XFontImp.hh
+++ b/src/FbTk/XFontImp.hh
@@ -40,7 +40,7 @@ public:
40 unsigned int height() const; 40 unsigned int height() const;
41 int ascent() const; 41 int ascent() const;
42 int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; } 42 int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; }
43 void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const; 43 void drawText(const FbDrawable &w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient);
44 44
45 bool validOrientation(FbTk::Orientation orient); 45 bool validOrientation(FbTk::Orientation orient);
46 46
@@ -79,6 +79,7 @@ private:
79 void drawRotText(Drawable w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const; 79 void drawRotText(Drawable w, int screen, GC gc, const FbString &text, size_t len, int x, int y, FbTk::Orientation orient) const;
80 80
81 XRotFontStruct *m_rotfonts[4]; ///< rotated font structure (only 3 used) 81 XRotFontStruct *m_rotfonts[4]; ///< rotated font structure (only 3 used)
82 bool m_rotfonts_loaded[4]; // whether we've tried yet
82 XFontStruct *m_fontstruct; ///< X font structure 83 XFontStruct *m_fontstruct; ///< X font structure
83 84
84}; 85};