diff options
author | fluxgen <fluxgen> | 2004-09-11 23:01:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-09-11 23:01:34 (GMT) |
commit | 049e40c9eb6e6e8651b171a2a78465398c87f6a1 (patch) | |
tree | 7aef9d57e82336221d6d953617c7a5d53ee95db0 /src/FbTk/FbDrawable.hh | |
parent | acd2176355876a7bb7afe9d026f9780a3d1c2737 (diff) | |
download | fluxbox-049e40c9eb6e6e8651b171a2a78465398c87f6a1.zip fluxbox-049e40c9eb6e6e8651b171a2a78465398c87f6a1.tar.bz2 |
Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning
Diffstat (limited to 'src/FbTk/FbDrawable.hh')
-rw-r--r-- | src/FbTk/FbDrawable.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/FbDrawable.hh b/src/FbTk/FbDrawable.hh index 1a9dbb7..03dac92 100644 --- a/src/FbTk/FbDrawable.hh +++ b/src/FbTk/FbDrawable.hh | |||
@@ -1,5 +1,5 @@ | |||
1 | // FbDrawable.hh for FbTk - Fluxbox ToolKit | 1 | // FbDrawable.hh for FbTk - Fluxbox ToolKit |
2 | // Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) | 2 | // Copyright (c) 2003-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: FbDrawable.hh,v 1.6 2004/09/11 20:30:28 fluxgen Exp $ | 22 | // $Id: FbDrawable.hh,v 1.7 2004/09/11 22:58:20 fluxgen Exp $ |
23 | #ifndef FBTK_FBDRAWABLE_HH | 23 | #ifndef FBTK_FBDRAWABLE_HH |
24 | #define FBTK_FBDRAWABLE_HH | 24 | #define FBTK_FBDRAWABLE_HH |
25 | 25 | ||
@@ -56,7 +56,7 @@ public: | |||
56 | virtual Drawable drawable() const = 0; | 56 | virtual Drawable drawable() const = 0; |
57 | virtual unsigned int width() const = 0; | 57 | virtual unsigned int width() const = 0; |
58 | virtual unsigned int height() const = 0; | 58 | virtual unsigned int height() const = 0; |
59 | inline Display *display() const { return s_display; } | 59 | static inline Display *display() { return s_display; } |
60 | protected: | 60 | protected: |
61 | static Display *s_display; // display connection // display connection | 61 | static Display *s_display; // display connection // display connection |
62 | }; | 62 | }; |