diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 06:40:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 06:40:00 +0000 |
| commit | 6188650ce975e287c7c8644927cd5d01e7cc7baa (patch) | |
| tree | 6396de81dbb9ef56f39c24a062b93e4c896a5773 /otk_c/display.h | |
| parent | 58ff3f35c2b712ec92b093ffd8b96331615f546a (diff) | |
rm my lucid experiment
Diffstat (limited to 'otk_c/display.h')
| -rw-r--r-- | otk_c/display.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/otk_c/display.h b/otk_c/display.h deleted file mode 100644 index 32e92c4a..00000000 --- a/otk_c/display.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __display_h -#define __display_h - -#include <X11/Xlib.h> -#include <Python.h> - -struct OtkScreenInfo; -struct OtkDisplay; - -extern struct OtkDisplay *OBDisplay; // the global display XXX: move this to app.h and ob.h? - -extern PyTypeObject OtkDisplay_Type; - -typedef struct OtkDisplay { - PyObject_HEAD - - //! The X display - Display *display; - - //! Does the display have the Shape extention? - Bool shape; - //! Base for events for the Shape extention - int shape_event_basep; - - //! Does the display have the Xinerama extention? - Bool xinerama; - //! Base for events for the Xinerama extention - int xinerama_event_basep; - - //! A list of all possible combinations of keyboard lock masks - unsigned int mask_list[8]; - - //! The number of requested grabs on the display - int grab_count; - - //! A list of information for all screens on the display - PyListObject *screenInfoList; -} OtkDisplay; - -//! Opens the X display, and sets the global OBDisplay variable -/*! - @see OBDisplay::display - @param name The name of the X display to open. If it is null, the DISPLAY - environment variable is used instead. -*/ -void OtkDisplay_Initialize(char *name); - -//! Grabs the display -void OtkDisplay_Grab(OtkDisplay *self); - -//! Ungrabs the display -void OtkDisplay_Ungrab(OtkDisplay *self); - -//! Get the screen info for a specific screen -struct OtkScreenInfo *OtkDisplay_ScreenInfo(OtkDisplay *self, int num); - -#endif // __display_h |
