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);
inline Window getDrawable(void) const { return window; }
- inline Visual *getVisual(void) { return screeninfo->getVisual(); }
+ inline Visual *getVisual(void) { return screeninfo->visual(); }
inline int getBitsPerPixel(void) const { return bits_per_pixel; }
inline int getDepth(void) const { return screen_depth; }
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);