aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbDrawable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbDrawable.hh')
-rw-r--r--src/FbTk/FbDrawable.hh6
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; }
60protected: 60protected:
61 static Display *s_display; // display connection // display connection 61 static Display *s_display; // display connection // display connection
62}; 62};