From 6188650ce975e287c7c8644927cd5d01e7cc7baa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 17 Jan 2003 06:40:00 +0000 Subject: rm my lucid experiment --- otk_c/init.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 otk_c/init.c (limited to 'otk_c/init.c') diff --git a/otk_c/init.c b/otk_c/init.c deleted file mode 100644 index 32a651bc..00000000 --- a/otk_c/init.c +++ /dev/null @@ -1,41 +0,0 @@ -// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- - -#include "../config.h" -#include "display.h" -#include "screeninfo.h" -#include "color.h" -#include "gccache.h" -#include "font.h" -#include "rect.h" -#include "timer.h" -#include "timerqueue.h" -#include "imagecontrol.h" - -#include -#include - -static PyMethodDef otk_methods[] = { -// {"new_noddy", noddy_new_noddy, METH_VARARGS, -// "Create a new Noddy object."}, - - {NULL, NULL, 0, NULL} -}; - -void initotk(char *display) -{ - OtkRect_Type.ob_type = &PyType_Type; - OtkDisplay_Type.ob_type = &PyType_Type; - OtkScreenInfo_Type.ob_type = &PyType_Type; - OtkColor_Type.ob_type = &PyType_Type; - OtkFont_Type.ob_type = &PyType_Type; - OtkTimer_Type.ob_type = &PyType_Type; - OtkImageControl_Type.ob_type = &PyType_Type; - - Py_InitModule("otk", otk_methods); - - OtkTimerQueue_Initialize(); - OtkDisplay_Initialize(display); - assert(OBDisplay); - OtkGCCache_Initialize(); - OtkFont_Initialize(); -} -- cgit v1.2.3