~ubuntu-branches/ubuntu/karmic/rosegarden/karmic

« back to all changes in this revision

Viewing changes to src/gui/editors/segment/segmentcanvas/CompositionModel.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-02 00:33:44 UTC
  • mfrom: (1.1.7 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080502003344-67vbfhgqx2yl0ksi
Tags: 1:1.7.0-1ubuntu1
* Merge from Debian unstable. (LP: #225849) Remaining Ubuntu changes:
  - Add usr/share/doc/kde/HTML to rosegarden-data, to provide online
    help documentation.
  - Change fftw3-dev to libfftw3-dev.
  - Update maintainer field as per spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    Rosegarden
6
6
    A MIDI and audio sequencer and musical notation editor.
7
7
 
8
 
    This program is Copyright 2000-2007
 
8
    This program is Copyright 2000-2008
9
9
        Guillaume Laurent   <glaurent@telegraph-road.org>,
10
10
        Chris Cannam        <cannam@all-day-breakfast.com>,
11
11
        Richard Bown        <richard.bown@ferventsoftware.com>
63
63
    };
64
64
 
65
65
    typedef std::vector<QRect> rectlist;
 
66
    typedef std::vector<int> heightlist;
66
67
    typedef std::vector<CompositionRect> rectcontainer;
67
68
    typedef std::set<CompositionItem, CompositionItemCompare> itemcontainer;
68
 
//    typedef std::set<CompositionItem> itemcontainer;
69
69
 
70
70
    struct AudioPreviewDrawDataItem {
71
71
        AudioPreviewDrawDataItem(PixmapArray p, QPoint bp, QRect r) :
125
125
    virtual const rectcontainer& getRectanglesIn(const QRect& rect,
126
126
                                                 RectRanges* notationRects, AudioPreviewDrawData* audioRects) = 0;
127
127
 
128
 
    virtual itemcontainer     getItemsAt      (const QPoint&) = 0;
 
128
    virtual heightlist getTrackDividersIn(const QRect& rect) = 0;
 
129
 
 
130
    virtual itemcontainer getItemsAt (const QPoint&) = 0;
129
131
    virtual timeT getRepeatTimeAt (const QPoint&, const CompositionItem&) = 0;
130
132
 
131
133
    virtual SnapGrid& grid() = 0;