summaryrefslogtreecommitdiff
path: root/src/XScreen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-16 18:39:03 +0000
committerDana Jansens <danakj@orodu.net>2002-05-16 18:39:03 +0000
commit91a7ca7d206f2ce09a0eb1229db57b67d9bafc67 (patch)
tree956616e61e4f80382af9e8b6f88581234019515b /src/XScreen.h
parentc17256d745e2730de5458f954af49860c0f4bce7 (diff)
added the X classes to the build process though they aren't sued by anything else yet. They now compile too.
Diffstat (limited to 'src/XScreen.h')
-rw-r--r--src/XScreen.h8
1 files changed, 5 insertions, 3 deletions
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 <X11/Xlib.h>
+#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; }