diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2004-05-27 22:30:21 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2004-05-27 22:30:21 +0000 |
| commit | d6f6602d7cea3a7899990fe79216af7d98d05917 (patch) | |
| tree | 22606cee18e18a7c7830899773240a8ae9067070 /lib/gui/elabel.cpp | |
| parent | ae9b6fba0b02b5990fd1635a2154336c5043df02 (diff) | |
| download | enigma2-d6f6602d7cea3a7899990fe79216af7d98d05917.tar.gz enigma2-d6f6602d7cea3a7899990fe79216af7d98d05917.zip | |
yes! ich habs kaputt gemacht! (doesn't compile anymore, doesn't work anymore,
lots of work required).
Diffstat (limited to 'lib/gui/elabel.cpp')
| -rw-r--r-- | lib/gui/elabel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gui/elabel.cpp b/lib/gui/elabel.cpp index ae04eb46..ce4efaf1 100644 --- a/lib/gui/elabel.cpp +++ b/lib/gui/elabel.cpp @@ -84,7 +84,7 @@ void eLabel::redrawWidget(gPainter *target, const eRect &rc) /* 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(), @@ -136,7 +136,7 @@ void eLabel::redrawWidget(gPainter *target, const eRect &rc) 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) { @@ -146,7 +146,7 @@ void eLabel::redrawWidget(gPainter *target, const eRect &rc) } 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(); |
