Mercurial > hg > svgui
comparison layer/ScrollableImageCache.h @ 1113:261a00010918 spectrogram-minor-refactor
Consts and willRenderOpaque
author | Chris Cannam |
---|---|
date | Tue, 19 Jul 2016 14:49:46 +0100 |
parents | c8c747783110 |
children | 175d4e15884d |
comparison
equal
deleted
inserted
replaced
1112:d578b685d912 | 1113:261a00010918 |
---|---|
114 * Set the new start frame for the cache, according to the | 114 * Set the new start frame for the cache, according to the |
115 * geometry of the supplied LayerGeometryProvider, if possible | 115 * geometry of the supplied LayerGeometryProvider, if possible |
116 * also moving along any existing valid data within the cache so | 116 * also moving along any existing valid data within the cache so |
117 * that it continues to be valid for the new start frame. | 117 * that it continues to be valid for the new start frame. |
118 */ | 118 */ |
119 void scrollTo(LayerGeometryProvider *v, sv_frame_t newStartFrame); | 119 void scrollTo(const LayerGeometryProvider *v, sv_frame_t newStartFrame); |
120 | 120 |
121 /** | 121 /** |
122 * Take a left coordinate and width describing a region, and | 122 * Take a left coordinate and width describing a region, and |
123 * adjust them so that they are contiguous with the cache valid | 123 * adjust them so that they are contiguous with the cache valid |
124 * region and so that the union of the adjusted region with the | 124 * region and so that the union of the adjusted region with the |