diff options
Diffstat (limited to 'otk_c/screeninfo.h')
| -rw-r--r-- | otk_c/screeninfo.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/otk_c/screeninfo.h b/otk_c/screeninfo.h deleted file mode 100644 index 70ce7d3a..00000000 --- a/otk_c/screeninfo.h +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __screeninfo_h -#define __screeninfo_h - -#include <X11/Xlib.h> -#include <Python.h> - -extern PyTypeObject OtkScreenInfo_Type; - -struct OtkRect; - -typedef struct OtkScreenInfo { - PyObject_HEAD - int screen; - Window root_window; - - int depth; - Visual *visual; - Colormap colormap; - - PyStringObject *display_string; - struct OtkRect *rect; // OtkRect -#ifdef XINERAMA - PyListObject *xinerama_areas; // holds OtkRect's - Bool xinerama_active; -#endif -} OtkScreenInfo; - -//! Creates an OtkScreenInfo for a screen -/*! - @param num The number of the screen on the display for which to fill the - struct with information. Must be a value >= 0. -*/ -PyObject *OtkScreenInfo_New(int num); - -#endif // __screeninfo_h |
