Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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 |
---|---|
66 { | 66 { |
67 int deft = 0; | 67 int deft = 0; |
68 | 68 |
69 if (name == tr("Colour")) { | 69 if (name == tr("Colour")) { |
70 | 70 |
71 *min = 0; | 71 if (min) *min = 0; |
72 *max = 5; | 72 if (max) *max = 5; |
73 | 73 |
74 if (m_colour == Qt::black) deft = 0; | 74 if (m_colour == Qt::black) deft = 0; |
75 else if (m_colour == Qt::darkRed) deft = 1; | 75 else if (m_colour == Qt::darkRed) deft = 1; |
76 else if (m_colour == Qt::darkBlue) deft = 2; | 76 else if (m_colour == Qt::darkBlue) deft = 2; |
77 else if (m_colour == Qt::darkGreen) deft = 3; | 77 else if (m_colour == Qt::darkGreen) deft = 3; |