diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 19:54:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 19:54:15 +0000 |
| commit | 065c6efa774ac144665f340f6c3578ab74e05c7b (patch) | |
| tree | 80e8d61f5d14db5cf7f66fbe58cfcc126e052751 /otk_c/init.c | |
| parent | 4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3 (diff) | |
otktimer works. imagecontrol is underway!
Diffstat (limited to 'otk_c/init.c')
| -rw-r--r-- | otk_c/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/otk_c/init.c b/otk_c/init.c index 8ea5d4a1..32a651bc 100644 --- a/otk_c/init.c +++ b/otk_c/init.c @@ -6,6 +6,10 @@ #include "color.h" #include "gccache.h" #include "font.h" +#include "rect.h" +#include "timer.h" +#include "timerqueue.h" +#include "imagecontrol.h" #include <X11/Xlib.h> #include <Python.h> @@ -24,9 +28,12 @@ void initotk(char *display) 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(); |
