summaryrefslogtreecommitdiff
path: root/otk/screeninfo.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
commita52a6d96d701c993896f276e4198003317632aaf (patch)
treebe2f51e6a433d1fdf9a7c8248b343cb3f6297212 /otk/screeninfo.hh
parenta36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff)
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'otk/screeninfo.hh')
-rw-r--r--otk/screeninfo.hh42
1 files changed, 0 insertions, 42 deletions
diff --git a/otk/screeninfo.hh b/otk/screeninfo.hh
deleted file mode 100644
index 93e835fa..00000000
--- a/otk/screeninfo.hh
+++ /dev/null
@@ -1,42 +0,0 @@
-// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef __screeninfo_hh
-#define __screeninfo_hh
-
-#include "size.hh"
-#include "rect.hh"
-
-extern "C" {
-#include <X11/Xlib.h>
-}
-
-#include <string>
-#include <vector>
-
-namespace otk {
-
-class ScreenInfo {
-private:
- int _screen;
- std::string _display_string;
- Size _size;
- std::vector<Rect> _xinerama_areas;
- bool _xinerama_active;
-
-public:
- ScreenInfo(int num);
-
- inline Visual *visual() const { return _visual; }
- inline Window rootWindow() const { return _root_window; }
- inline Colormap colormap() const { return _colormap; }
- inline int depth() const { return _depth; }
- inline int screen() const { return _screen; }
- inline const Size& size() const { return _size; }
- inline const std::string& displayString() const { return _display_string; }
- inline const std::vector<Rect> &xineramaAreas() const
- { return _xinerama_areas; }
- inline bool isXineramaActive() const { return _xinerama_active; }
-};
-
-}
-
-#endif // __screeninfo_hh