comparison base/ZoomConstraint.h @ 1102:12f3b48668d4 simple-fft-model

Raise this maximum, so longer files can be shown in the overview pane
author Chris Cannam
date Mon, 15 Jun 2015 19:32:30 +0100
parents 6a94bb528e9d
children d4a28d1479a8 48e9f538e6e9
comparison
equal deleted inserted replaced
1101:cd156ede1395 1102:12f3b48668d4
56 else return requestedBlockSize; 56 else return requestedBlockSize;
57 } 57 }
58 58
59 /** 59 /**
60 * Return the maximum zoom level within range for this constraint. 60 * Return the maximum zoom level within range for this constraint.
61 * This is quite large -- individual views will probably want to
62 * limit how far a user might reasonably zoom out based on other
63 * factors such as the duration of the file.
61 */ 64 */
62 virtual int getMaxZoomLevel() const { return 262144; } 65 virtual int getMaxZoomLevel() const { return 4194304; } // 2^22, arbitrarily
63 }; 66 };
64 67
65 #endif 68 #endif
66 69