comparison base/ZoomConstraint.h @ 160:abaf3d7195ce

* experiment with finer zoom level changes when using h thumbwheel
author Chris Cannam
date Tue, 22 Aug 2006 14:18:28 +0000
parents d397ea0a79f5
children 6a94bb528e9d
comparison
equal deleted inserted replaced
159:e5879045d22b 160:abaf3d7195ce
54 { 54 {
55 if (requestedBlockSize > getMaxZoomLevel()) return getMaxZoomLevel(); 55 if (requestedBlockSize > getMaxZoomLevel()) return getMaxZoomLevel();
56 else return requestedBlockSize; 56 else return requestedBlockSize;
57 } 57 }
58 58
59 /**
60 * Return the maximum zoom level within range for this constraint.
61 */
59 virtual size_t getMaxZoomLevel() const { return 262144; } 62 virtual size_t getMaxZoomLevel() const { return 262144; }
60 }; 63 };
61 64
62 #endif 65 #endif
63 66