diff layer/ScrollableImageCache.h @ 1081:cbc7c8675706 spectrogram-minor-refactor

Comments
author Chris Cannam
date Thu, 30 Jun 2016 18:21:11 +0100
parents 7ebfb61b1701
children c8c747783110
line wrap: on
line diff
--- a/layer/ScrollableImageCache.h	Thu Jun 30 16:28:32 2016 +0100
+++ b/layer/ScrollableImageCache.h	Thu Jun 30 18:21:11 2016 +0100
@@ -122,10 +122,12 @@
      * Take a left coordinate and width describing a region, and
      * adjust them so that they are contiguous with the cache valid
      * region and so that the union of the adjusted region with the
-     * cache valid region contains the supplied region.
+     * cache valid region contains the supplied region.  Does not
+     * modify anything about the cache, only about the arguments.
      */
     void adjustToTouchValidArea(int &left, int &width,
 				bool &isLeftOfValidArea) const;
+    
     /**
      * Draw from an image onto the cache. The supplied image must have
      * the same height as the cache and the full height is always