summaryrefslogtreecommitdiff
path: root/otk/image.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-24 21:27:16 +0000
committerDana Jansens <danakj@orodu.net>2002-12-24 21:27:16 +0000
commit5869cc29ef15181427e65079d9a52c5d21190206 (patch)
tree383c3373beab350f66cb4fa64dcc6aac262cbd3b /otk/image.hh
parent2e273ae3ac020cc6a43c37942089b3eb7d214102 (diff)
wrap otk with swig/python
Diffstat (limited to 'otk/image.hh')
-rw-r--r--otk/image.hh8
1 files changed, 5 insertions, 3 deletions
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);