- flags|=flag;
- if (flag)
- invalidate();
-}
-
-void eLabel::setBlitFlags( int flags )
-{
- blitFlags |= flags;
-}
-
-void eLabel::removeFlags(int flag)
-{
- flags &= ~flag;
- if (flag)
- invalidate();
-}
-
-void eLabel::setAlign(int align)
-{
- this->align = align;
- invalidate();
-}
-
-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 );
- eRect area=eRect(ePoint(0, 0), ePoint(width(), height()));
-/* eDebug("area left = %d, top = %d, width = %d, height = %d",
- area.left(), area.top(),
- area.width(), area.height() );*/
-
- if (deco_selected && have_focus)
- {
- deco_selected.drawDecoration(target, ePoint(width(), height()));
- area=crect_selected;
- } else if (deco)
- {
- deco.drawDecoration(target, ePoint(width(), height()));
- area=crect;
- }
-/* eDebug("area left = %d, top = %d, width = %d, height = %d",
- area.left(), area.top(),
- area.width(), area.height() );*/
-
- if (shortcutPixmap)
- {
- //area.setWidth(area.width()-area.height());
- area.setX(area.height());
- }
-
- if (text.length())