/*****************************************************************************
* ctrl_text.cpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 VideoLAN (Centrale Réseaux) and its contributors
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
if( width > 0 && height > 0 )
{
rImage.drawBitmap( *m_pCurrImg, -m_xPos, 0, xDest, yDest,
- width, height );
+ width, height, true );
}
}
}
m_pTimer->stop();
}
}
- notifyLayout();
+ notifyLayout( getPosition()->getWidth(), getPosition()->getHeight() );
}
}
pThis->m_xPos = (pEvtMouse->getXPos() - pThis->m_xOffset);
pThis->adjust( pThis->m_xPos );
- pThis->notifyLayout();
+ pThis->notifyLayout( pThis->getPosition()->getWidth(),
+ pThis->getPosition()->getHeight() );
}
}
pThis->m_xPos -= MOVING_TEXT_STEP;
pThis->adjust( pThis->m_xPos );
- pThis->notifyLayout();
+ pThis->notifyLayout( pThis->getPosition()->getWidth(),
+ pThis->getPosition()->getHeight() );
}