class BImageControl;
class BTexture;
-class BImageCache;
class BImage {
private:
#endif
Pixmap renderPixmap(void);
+ Pixmap render_solid(const BTexture &texture);
+ Pixmap render_gradient(const BTexture &texture);
XImage *renderXImage(void);
void invert(void);
void bevel1(void);
void bevel2(void);
+ void border(const BTexture &texture);
void dgradient(void);
void egradient(void);
void hgradient(void);
public:
- BImage(BImageControl *c, unsigned int w, unsigned int h);
+ BImage(BImageControl *c, int w, int h);
~BImage(void);
Pixmap render(const BTexture &texture);
- Pixmap render_solid(const BTexture &texture);
- Pixmap render_gradient(const BTexture &texture);
-
- // static methods for the builtin cache
- static unsigned long maximumCacheSize(void);
- static void setMaximumCacheSize(const unsigned long cache_max);
-
- static unsigned long cacheTimeout(void);
- static void setCacheTimeout(const unsigned long cache_timeout);
-
-private:
- // global image cache
- static BImageCache *imagecache;
};