Mercurial > hg > svgui
comparison layer/TimeRulerLayer.cpp @ 10:8f5b812baaee
* Hook up SV file i/o. You can now save and load sessions.
Some problems -- gain is not reloaded correctly for waveforms,
reloaded panes are not properly reconnected to the panner, and
no doubt plenty of others.
author | Chris Cannam |
---|---|
date | Tue, 17 Jan 2006 17:45:55 +0000 |
parents | 02aaea1ffaf7 |
children | 2d5005f2b3d9 |
comparison
equal
deleted
inserted
replaced
9:561be41ad083 | 10:8f5b812baaee |
---|---|
65 { | 65 { |
66 int deft = 0; | 66 int deft = 0; |
67 | 67 |
68 if (name == tr("Colour")) { | 68 if (name == tr("Colour")) { |
69 | 69 |
70 *min = 0; | 70 if (min) *min = 0; |
71 *max = 5; | 71 if (max) *max = 5; |
72 | 72 |
73 if (m_colour == Qt::black) deft = 0; | 73 if (m_colour == Qt::black) deft = 0; |
74 else if (m_colour == Qt::darkRed) deft = 1; | 74 else if (m_colour == Qt::darkRed) deft = 1; |
75 else if (m_colour == Qt::darkBlue) deft = 2; | 75 else if (m_colour == Qt::darkBlue) deft = 2; |
76 else if (m_colour == Qt::darkGreen) deft = 3; | 76 else if (m_colour == Qt::darkGreen) deft = 3; |