~ubuntu-branches/ubuntu/breezy/muse/breezy

« back to all changes in this revision

Viewing changes to widgets/drange.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-02-07 15:18:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040207151822-es27xxkzbcxkebjm
Tags: 0.6.3-1
* New upstream version.
* Added patches:
  + [10_alsa_init_fix] New, from upstream CVS.
    Initialize direction variable when setting Alsa parameters.
  + [10_canvas_translation_fix] New, from upstream CVS.
    Do not translate tooltips twice in canvas popup.
  + [10_checkbox_fix] New, from upstream CVS.
    Use proper set/test methods on metronome checkboxes.
  + [10_html_doc_cleanup] New.
    Fix links and HTML errors in documentation.
  + [20_allow_system_timer] New.
    The new upstream version fails by default if the real-time clock
    could not be accessed (usually the case when not running suid-root).
    This patch reverts the old behaviour of falling back to the more
    inaccurate system timer.
* Updated patches:
  + [11_PIC_fixes_fixup] Rediffed.
* Removed patches:
  + [20_no_atomic_asm] Merged upstream.
* debian/compat: Splice out debhelper compatibility level from rules file.
* debian/control: Build-depend on latest jack release by default.
  Closes: #228788
* debian/control: Bump standards version.
* debian/control: Use auto-generated debconf dependency via misc:Depends.
* debian/control: Minor tweaks to the long description.
* debian/control: Tighten fluidsynth build dependency to sane version.
* debian/muse.doc-base: New. Register HTML documentation with doc-base.
* debian/templates: Tiny rewording, and typo fix.
* debian/templates, debian/po/*: Switch to po-debconf for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//    $Id: drange.h,v 1.2 2001/11/20 15:19:34 muse Exp $
 
4
//    $Id: drange.h,v 1.1.1.1 2003/10/29 10:06:25 wschweer Exp $
5
5
//
6
6
//    Copyright (C) 1997  Josef Wilgen
7
7
//      This program is free software; you can redistribute it and/or modify
16
16
 
17
17
#include <qglobal.h>
18
18
 
 
19
//---------------------------------------------------------
 
20
//   DoubleRange
 
21
//---------------------------------------------------------
 
22
 
19
23
class DoubleRange
20
24
      {
21
25
      static const double MinRelStep;
44
48
 
45
49
   public:
46
50
      DoubleRange();
 
51
 
 
52
      double value() const    { return d_value; }
 
53
      virtual void setValue(double);
 
54
 
47
55
      virtual void fitValue(double);
48
56
      virtual void incValue(int);
49
57
      virtual void incPages(int);
51
59
      void setRange(double vmin, double vmax, double vstep = 0.0,
52
60
         int pagesize = 1);
53
61
      void setStep(double);
54
 
      virtual void setValue(double);
55
62
 
56
63
      double maxValue() const { return d_maxValue; }
57
64
      double minValue() const { return d_minValue; }
58
65
      bool periodic()  const  { return d_periodic; }
59
66
      int pageSize() const    { return d_pageSize; }
60
 
      double value() const    { return d_value; }
61
67
      double step() const;
62
68
      };
63
69