Port to cpp bindings

This commit is contained in:
Jonne Lehtinen 2006-05-25 21:50:53 +03:00 committed by Tobias
parent 0f06c83484
commit 70da726f52
20 changed files with 333 additions and 331 deletions

View file

@ -152,10 +152,7 @@ Slider::setPos (uint p)
void
Slider::requestPos (float value)
{
XMMSHandler *xmmsh = XMMSHandler::getInstance();
uint new_pos = (uint)(m_max * value);
xmmsh->setPlaytime (new_pos);
XMMSHandler::getInstance ().setPlaytime (m_max * value);
}
void