From 91a7ca7d206f2ce09a0eb1229db57b67d9bafc67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 16 May 2002 18:39:03 +0000 Subject: added the X classes to the build process though they aren't sued by anything else yet. They now compile too. --- src/XScreen.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/XScreen.h') diff --git a/src/XScreen.h b/src/XScreen.h index 8626d9d7..6a6c6926 100644 --- a/src/XScreen.h +++ b/src/XScreen.h @@ -23,8 +23,9 @@ #define __XScreen_h #include +#include "Geometry.h" -class Size; +class XDisplay; class XScreen { private: @@ -33,7 +34,7 @@ private: Visual *_visual; Window _root; Colormap _colormap; - unsigned int _depth; + int _depth; Size _size; void setColorData(); @@ -43,7 +44,8 @@ private: XScreen& operator=(const XScreen&); public: - XScreen(const Display *display, const unsigned int number); + XScreen(const XDisplay *display, const unsigned int number); + virtual ~XScreen(); inline Visual *visual() const { return _visual; } inline Window rootWindow() const { return _root; } -- cgit v1.2.3