Logo Search packages:      
Sourcecode: rosegarden version File versions

virtual NotePixmapFactory& NotationStaff::getNotePixmapFactory ( bool  grace  )  [inline, virtual]

Gets a read-only reference to the pixmap factory used by the staff. (For use by NotationHLayout, principally.) This reference isn't const because the NotePixmapFactory maintains too much state for its methods to be const, but you should treat the returned reference as if it were const anyway.

Definition at line 92 of file notationstaff.h.

Referenced by NotationGroup::applyTuplingLine(), NotationGroup::calculateBeam(), NotationCanvasView::contentsMousePressEvent(), and NotationSelector::getSelection().

      return grace ? *m_graceNotePixmapFactory : *m_notePixmapFactory;

Generated by  Doxygen 1.6.0   Back to index