From e5c5b4bf700f9bf00dd88bd4b6a471ac1ccefaff Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Dec 2002 23:19:07 +0000 Subject: add screeninfo --- otk_c/display.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'otk_c/display.h') diff --git a/otk_c/display.h b/otk_c/display.h index fd9b706f..87574b76 100644 --- a/otk_c/display.h +++ b/otk_c/display.h @@ -5,10 +5,13 @@ #include #include -typedef OtkScreenInfo; -typedef OtkGCCache; +struct OtkScreenInfo; +struct OtkGCCache; +struct OtkDisplay; -typedef struct { +struct OtkDisplay *OBDisplay; // the global display XXX: move this to app.h and ob.h? + +typedef struct OtkDisplay { PyObject_HEAD //! The X display @@ -41,7 +44,7 @@ typedef struct { @see BImageControl @see BTexture */ - OtkGCCache *gccache; + struct OtkGCCache *gccache; } OtkDisplay; //! Creates a struct, opens the X display -- cgit v1.2.3