Changeset 895
- Timestamp:
- 08/08/04 10:36:32 (4 years ago)
- Files:
-
- Footagehead/trunk/FHController.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/FHController.m
r888 r895 1 /* $Id: FHController.m,v 1.1 4 2004/07/13 19:08:29morris Exp $ */1 /* $Id: FHController.m,v 1.15 2004/08/08 08:36:32 morris Exp $ */ 2 2 3 3 /* … … 1169 1169 imageHeight = [[_imageView image] size].height; 1170 1170 1171 if(imageWidth <= 0 || imageHeight <=0)1171 if(imageWidth <= 0.0 || imageHeight <= 0.0) 1172 1172 return; 1173 1173 … … 1184 1184 1185 1185 // --- get zoom level 1186 zoom = 100 * ((frameWidth * frameHeight) / (imageWidth * imageHeight)); 1186 zoom = 100.0 * ((frameWidth * frameHeight) / (imageWidth * imageHeight)); 1187 1188 if(zoom > 100.0) 1189 zoom = 100.0; 1187 1190 1188 1191 // --- display status
