cache_max = cmax;
#ifdef TIMEDCACHE
if (cache_timeout) {
- timer = new BTimer(basedisplay, this);
+ timer = new BTimer(*basedisplay, *this);
timer->setTimeout(cache_timeout);
timer->start();
} else
}
-void BImageControl::parseTexture(BTexture *texture, char *t) {
+void BImageControl::parseTexture(BTexture *texture, const char *t) {
if ((! texture) || (! t)) return;
int t_len = strlen(t) + 1, i;
}
-void BImageControl::parseColor(BColor *color, char *c) {
+void BImageControl::parseColor(BColor *color, const char *c) {
if (! color) return;
if (color->isAllocated()) {