Mercurial > hg > svgui
diff layer/TimeInstantLayer.h @ 125:999ae0f7d10c
* Change preferences dialog to ok/apply/cancel model
* Make preferences persist in a config file
* Change instance() to getInstance() for all singleton types
* Make pasting to time-value layer with no values in clipboard ask you how to
generate the values
* Fix bad behaviour caused by importing "data"-type (i.e. 3d dense) model from
annotation file without a fixed window size available
author | Chris Cannam |
---|---|
date | Thu, 27 Jul 2006 16:06:32 +0000 |
parents | 47cb32bb35ab |
children | 33929e0c3c6b |
line wrap: on
line diff
--- a/layer/TimeInstantLayer.h Wed Jul 26 16:48:07 2006 +0000 +++ b/layer/TimeInstantLayer.h Thu Jul 27 16:06:32 2006 +0000 @@ -55,7 +55,8 @@ virtual void deleteSelection(Selection s); virtual void copy(Selection s, Clipboard &to); - virtual void paste(const Clipboard &from, int frameOffset); + virtual bool paste(const Clipboard &from, int frameOffset, + bool interactive); virtual const Model *getModel() const { return m_model; } void setModel(SparseOneDimensionalModel *model); @@ -88,8 +89,7 @@ virtual bool needsTextLabelHeight() const { return m_model->hasTextLabels(); } - virtual bool getValueExtents(float &min, float &max, - bool &log, QString &unit) const { + virtual bool getValueExtents(float &, float &, bool &, QString &) const { return false; }