/* eDebug("decoStr = %s, text=%s, name=%s, %p left = %d, top = %d, width=%d, height = %d", strDeco?strDeco.c_str():"no", text?text.c_str():"no" , name?name.c_str():"no", this, this->getPosition().x(), this->getPosition().y(), this->getSize().width(), this->getSize().height() );
eDebug("renderContext left = %d, top = %d, width = %d, height = %d", rc.left(), rc.top(), rc.width(), rc.height() );*/
- target->clip( rc );
+ target->clip( gRegion(rc) );
eRect area=eRect(ePoint(0, 0), ePoint(width(), height()));
/* eDebug("area left = %d, top = %d, width = %d, height = %d",
area.left(), area.top(),
target->setBackgroundColor(w->getBackgroundColor());
}
target->setFont(font);
- target->renderPara(*para, ePoint( area.left(), area.top()+yOffs) );
+ target->renderPara(para, ePoint( area.left(), area.top()+yOffs) );
}
if (pixmap)
{
}
if (shortcutPixmap)
target->blit(shortcutPixmap,
- ePoint((area.height()-shortcutPixmap->x)/2, area.top()+(area.height()-shortcutPixmap->y)/2),
+ ePoint((area.height()-shortcutPixmap->getSize().width())/2, area.top()+(area.height()-shortcutPixmap->getSize().height())/2),
eRect(),
gPixmap::blitAlphaTest);
target->clippop();