summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/FbDrawable.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/FbDrawable.hh b/src/FbTk/FbDrawable.hh
index 4469f84..1a9dbb7 100644
--- a/src/FbTk/FbDrawable.hh
+++ b/src/FbTk/FbDrawable.hh
@@ -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.5 2004/09/10 15:46:08 akir Exp $ 22// $Id: FbDrawable.hh,v 1.6 2004/09/11 20:30:28 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,6 +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; }
59protected: 60protected:
60 static Display *s_display; // display connection // display connection 61 static Display *s_display; // display connection // display connection
61}; 62};