~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/graphic/GraphicManager.cpp

  • Committer: cecilios
  • Date: 2008-09-22 16:39:15 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:trunk:389

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
    }
366
366
}
367
367
 
368
 
lmGMObject* lmGraphicManager::FindSelectableObjectAtPagePos(int nNumPage, lmUPoint uPos)
 
368
lmGMObject* lmGraphicManager::FindObjectAtPagePos(int nNumPage, lmUPoint uPos, bool fSelectable)
369
369
{
370
370
        if (!m_pBoxScore) return (lmGMObject*)NULL;
371
371
 
372
372
    lmBoxPage* pBPage = m_pBoxScore->GetPage(nNumPage);
373
373
    if (pBPage)
374
 
        return pBPage->FindSelectableObjectAtPos(uPos);
 
374
        return pBPage->FindObjectAtPos(uPos, fSelectable);
375
375
    else
376
376
        return (lmGMObject*)NULL;
377
377
}