From 5869cc29ef15181427e65079d9a52c5d21190206 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Dec 2002 21:27:16 +0000 Subject: wrap otk with swig/python --- otk/image.hh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'otk/image.hh') diff --git a/otk/image.hh b/otk/image.hh index 5407e522..da489323 100644 --- a/otk/image.hh +++ b/otk/image.hh @@ -68,15 +68,17 @@ public: class BImageControl { public: +#ifndef SWIG struct CachedImage { Pixmap pixmap; unsigned int count, width, height; unsigned long pixel1, pixel2, texture; }; +#endif - BImageControl(OBTimerQueueManager *timermanager, - const ScreenInfo *scrn, + BImageControl(otk::OBTimerQueueManager *timermanager, + const otk::ScreenInfo *scrn, bool _dither= False, int _cpc = 4, unsigned long cache_timeout = 300000l, unsigned long cmax = 200l); @@ -98,7 +100,7 @@ public: unsigned long getSqrt(unsigned int x); Pixmap renderImage(unsigned int width, unsigned int height, - const BTexture &texture); + const otk::BTexture &texture); void installRootColormap(void); void removeImage(Pixmap pixmap); -- cgit v1.2.3