aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XmbFontImp.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-03-26 04:02:30 (GMT)
committersimonb <simonb>2006-03-26 04:02:30 (GMT)
commitaf74a2284551c8511b66d77112c7bf32831c1522 (patch)
tree35a8830352f5facc1fc9c58b82c0c6dce8fc921e /src/FbTk/XmbFontImp.hh
parent872f6a0e1e4230f702ad69fa2d7e10a2fa78b7a3 (diff)
downloadfluxbox-af74a2284551c8511b66d77112c7bf32831c1522.zip
fluxbox-af74a2284551c8511b66d77112c7bf32831c1522.tar.bz2
rotated fonts, buttons, containers. Used for tabs for now
Diffstat (limited to 'src/FbTk/XmbFontImp.hh')
-rw-r--r--src/FbTk/XmbFontImp.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/XmbFontImp.hh b/src/FbTk/XmbFontImp.hh
index cd13b84..9ee5db5 100644
--- a/src/FbTk/XmbFontImp.hh
+++ b/src/FbTk/XmbFontImp.hh
@@ -36,7 +36,7 @@ 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) const; 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;
40 unsigned int textWidth(const char * const text, unsigned int len) const; 40 unsigned int textWidth(const char * const 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; }