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

« back to all changes in this revision

Viewing changes to src/base/RulerScale.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:
3
3
    Rosegarden
4
4
    A sequencer and musical notation editor.
5
5
 
6
 
    This program is Copyright 2000-2007
 
6
    This program is Copyright 2000-2008
7
7
        Guillaume Laurent   <glaurent@telegraph-road.org>,
8
8
        Chris Cannam        <cannam@all-day-breakfast.com>,
9
9
        Richard Bown        <bownie@bownie.com>
145
145
    double getUnitsPerPixel() const { return m_ratio; }
146
146
    void   setUnitsPerPixel(double ratio) { m_ratio = ratio; }
147
147
 
148
 
    virtual int getFirstVisibleBar() const { return m_firstBar; }
149
 
    void setFirstVisibleBar(int fb) { m_firstBar = fb; }
150
 
 
151
148
    virtual double getBarPosition(int n) const;
152
149
    virtual double getBarWidth(int n) const;
153
150
    virtual double getBeatWidth(int n) const;
158
155
protected:
159
156
    double m_origin;
160
157
    double m_ratio;
161
 
    int m_firstBar;
162
158
 
163
159
private:
164
160
    SimpleRulerScale(const SimpleRulerScale &ruler);