Changeset 260

Show
Ignore:
Timestamp:
01/06/10 09:55:59 (8 months ago)
Author:
deu
Message:

CLOSED - issue QREST-14: Magic number
 http://requests.wardsback.org/browse/QREST-14

Location:
branches/v0.5/src/model
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/v0.5/src/model/document.cpp

    r237 r260  
    3030 
    3131Document::Document() : 
    32     _tempo(TEMPO_DEFAULT), _steady(true), _steadiness(1.0), 
     32    _tempo(TEMPO_DEFAULT), _steady(true), _steadiness(FULL_STEADINESS), 
    3333            _tempoFromTap(false), _multiplier(MULTIPLIER_PLAIN) { 
    3434 
  • branches/v0.5/src/model/document.h

    r233 r260  
    246246    static const double TEMPO_MAX = 999.0; 
    247247 
     248    /** complete steadiness is expressed as 1 as a double */ 
     249    static const double FULL_STEADINESS = 1.0; 
     250 
    248251    // Constants used for the multiplier 
    249252public: