2
0

MWZoomingScrollView.h 1009 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // ZoomingScrollView.h
  3. // MWPhotoBrowser
  4. //
  5. // Created by Michael Waterfall on 14/10/2010.
  6. // Copyright 2010 d3i. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "MWPhotoProtocol.h"
  10. #import "MWTapDetectingImageView.h"
  11. #import "MWTapDetectingView.h"
  12. @class MWPhotoBrowser, MWPhoto, MWCaptionView;
  13. @interface MWZoomingScrollView : UIScrollView <UIScrollViewDelegate, MWTapDetectingImageViewDelegate, MWTapDetectingViewDelegate> {
  14. }
  15. @property () NSUInteger index;
  16. @property (nonatomic) id <MWPhoto> photo;
  17. @property (nonatomic, weak) MWCaptionView *captionView;
  18. @property (nonatomic, weak) UIButton *selectedButton;
  19. @property (nonatomic, weak) UIButton *playButton;
  20. -(void)setPhoto:(id<MWPhoto>)photo thumbPhoto:(id<MWPhoto>)thumbPhoto;
  21. - (id)initWithPhotoBrowser:(MWPhotoBrowser *)browser;
  22. - (void)displayImage;
  23. - (void)displayImageFailure;
  24. - (void)setMaxMinZoomScalesForCurrentBounds;
  25. - (void)prepareForReuse;
  26. - (BOOL)displayingVideo;
  27. - (void)setImageHidden:(BOOL)hidden;
  28. @end