コード例 #1
0
void ScrollView::update(float dt)
{
    if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}
コード例 #2
0
ファイル: UIScrollView.cpp プロジェクト: fnz/PatterGenerator
void ScrollView::update(float dt)
{
    if (_inertiaScrolling)
    {
        processInertiaScrolling(dt);
    }
    else if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}