Mercurial > hg > svcore
comparison base/Model.cpp @ 117:c30728d5625c sv1-v0.9rc1
* Make vertical scale alignment modes work in note layer as well as time-value
layer, and several significant fixes to it
* Make it possible to draw notes properly on the note layer
* Show units (and frequencies etc in note layer's case) in the time-value and
note layer description boxes
* Minor fix to item edit dialog layout
* Some minor menu rearrangement
* Comment out a lot of debug output
* Add SV website and reference URLs to Help menu, and add code to (attempt to)
open them in the user's preferred browser
author | Chris Cannam |
---|---|
date | Fri, 12 May 2006 14:40:43 +0000 |
parents | 2beca8ddcdc3 |
children | 82f529a08cf3 |
comparison
equal
deleted
inserted
replaced
116:a08718723b20 | 117:c30728d5625c |
---|---|
20 | 20 |
21 const int Model::COMPLETION_UNKNOWN = -1; | 21 const int Model::COMPLETION_UNKNOWN = -1; |
22 | 22 |
23 Model::~Model() | 23 Model::~Model() |
24 { | 24 { |
25 std::cerr << "Model::~Model(" << this << ")" << std::endl; | 25 // std::cerr << "Model::~Model(" << this << ")" << std::endl; |
26 | 26 |
27 // Subclasses have to handle adding themselves to the repository, | 27 // Subclasses have to handle adding themselves to the repository, |
28 // if they want to be played. We can't do it from here because | 28 // if they want to be played. We can't do it from here because |
29 // the repository would be unable to tell whether we were playable | 29 // the repository would be unable to tell whether we were playable |
30 // or not (because dynamic_cast won't work from the base class ctor) | 30 // or not (because dynamic_cast won't work from the base class ctor) |