]> Dogcows Code - chaz/openbox/blob - otk_c/screeninfo.h
add font
[chaz/openbox] / otk_c / screeninfo.h
1 // -*- mode: C; indent-tabs-mode: nil; -*-
2 #ifndef __screeninfo_h
3 #define __screeninfo_h
4
5 #include <X11/Xlib.h>
6 #include <Python.h>
7
8 extern PyTypeObject OtkScreenInfo_Type;
9
10 struct OtkRect;
11
12 typedef struct OtkScreenInfo {
13 int screen;
14 Window root_window;
15
16 int depth;
17 Visual *visual;
18 Colormap colormap;
19
20 PyStringObject *display_string;
21 struct OtkRect *rect; // OtkRect
22 #ifdef XINERAMA
23 PyObject *xinerama_areas; // PyListObject[OtkRect]
24 Bool xinerama_active;
25 #endif
26 } OtkScreenInfo;
27
28 //! Creates an OtkScreenInfo for a screen
29 /*!
30 @param num The number of the screen on the display for which to fill the
31 struct with information. Must be a value >= 0.
32 */
33 PyObject *OtkScreenInfo_New(int num);
34
35 #endif // __screeninfo_h
This page took 0.036289 seconds and 4 git commands to generate.