Exemplo n.º 1
0
void ScrollView::update(float dt)
{
    if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}
Exemplo n.º 2
0
void ScrollView::update(float dt)
{
    if (_inertiaScrolling)
    {
        processInertiaScrolling(dt);
    }
    else if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}