aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XFontImp.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-09-11 23:01:34 (GMT)
committerfluxgen <fluxgen>2004-09-11 23:01:34 (GMT)
commit049e40c9eb6e6e8651b171a2a78465398c87f6a1 (patch)
tree7aef9d57e82336221d6d953617c7a5d53ee95db0 /src/FbTk/XFontImp.hh
parentacd2176355876a7bb7afe9d026f9780a3d1c2737 (diff)
downloadfluxbox_paul-049e40c9eb6e6e8651b171a2a78465398c87f6a1.zip
fluxbox_paul-049e40c9eb6e6e8651b171a2a78465398c87f6a1.tar.bz2
Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning
Diffstat (limited to 'src/FbTk/XFontImp.hh')
-rw-r--r--src/FbTk/XFontImp.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/XFontImp.hh b/src/FbTk/XFontImp.hh
index cc03034..483ae0b 100644
--- a/src/FbTk/XFontImp.hh
+++ b/src/FbTk/XFontImp.hh
@@ -1,5 +1,5 @@
1// XFontImp.hh for FbTk fluxbox toolkit 1// XFontImp.hh for FbTk fluxbox toolkit
2// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) 2// Copyright (c) 2002-2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"), 5// copy of this software and associated documentation files (the "Software"),
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: XFontImp.hh,v 1.5 2003/12/16 17:06:52 fluxgen Exp $ 22// $Id: XFontImp.hh,v 1.6 2004/09/11 22:58:20 fluxgen Exp $
23 23
24#ifndef FBTK_XFONTIMP_HH 24#ifndef FBTK_XFONTIMP_HH
25#define FBTK_XFONTIMP_HH 25#define FBTK_XFONTIMP_HH
@@ -41,7 +41,7 @@ public:
41 float angle() const { return m_angle; } 41 float angle() const { return m_angle; }
42 int ascent() const; 42 int ascent() const;
43 int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; } 43 int descent() const { return m_fontstruct ? m_fontstruct->descent : 0; }
44 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; 44 void drawText(const FbDrawable &w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
45 bool loaded() const { return m_fontstruct != 0; } 45 bool loaded() const { return m_fontstruct != 0; }
46 void rotate(float angle); 46 void rotate(float angle);
47 /// enable/disable rotation witout alloc/dealloc rotfont structures 47 /// enable/disable rotation witout alloc/dealloc rotfont structures