diff layer/RegionLayer.h @ 542:5930f2b0b1d2

* some work on improving region editing -- incomplete
author Chris Cannam
date Mon, 03 Aug 2009 16:42:25 +0000
parents ac349afdb23f
children d666f5f8b154
line wrap: on
line diff
--- a/layer/RegionLayer.h	Mon Aug 03 12:55:00 2009 +0000
+++ b/layer/RegionLayer.h	Mon Aug 03 16:42:25 2009 +0000
@@ -137,8 +137,12 @@
     PlotStyle m_plotStyle;
 
     typedef std::map<float, int> SpacingMap;
+    // region value -> ordering
     SpacingMap m_spacingMap;
 
+    int spacingIndexToY(View *v, int i) const;
+    float yToSpacingIndex(View *v, int y) const;
+
     void finish(RegionModel::EditCommand *command) {
         Command *c = command->finish();
         if (c) CommandHistory::getInstance()->addCommand(c, false);