comparison layer/TimeValueLayer.h @ 296:ea37c229a578

* Fix #1757772 tempo, dynamic related plug-ins bug -- make auto-align only auto-align if there is a unit involved * Fix #1755366 text layer bug in retrieved session * Fix input model selection in plugin parameter dialog (was being ignored) * Use lighter background than the standard widget one for panes (assuming the widget background is light but not white) -- similarly darker if dark * Fix colour reference counting in loaded session in SingleColourLayer * Reset overview pane colour when switching dark background on or off
author Chris Cannam
date Tue, 14 Aug 2007 13:58:53 +0000
parents cd2492c5fe45
children c0b9eec70639
comparison
equal deleted inserted replaced
295:5804703450d8 296:ea37c229a578
122 protected: 122 protected:
123 void getScaleExtents(View *, float &min, float &max, bool &log) const; 123 void getScaleExtents(View *, float &min, float &max, bool &log) const;
124 int getYForValue(View *, float value) const; 124 int getYForValue(View *, float value) const;
125 float getValueForY(View *, int y) const; 125 float getValueForY(View *, int y) const;
126 QColor getColourForValue(View *v, float value) const; 126 QColor getColourForValue(View *v, float value) const;
127 bool shouldAutoAlign() const;
127 128
128 SparseTimeValueModel::PointList getLocalPoints(View *v, int) const; 129 SparseTimeValueModel::PointList getLocalPoints(View *v, int) const;
129 130
130 virtual int getDefaultColourHint(bool dark, bool &impose); 131 virtual int getDefaultColourHint(bool dark, bool &impose);
131 132