123456789101112131415161718192021222324252627282930313233343536 |
- //
- // ZoomingScrollView.h
- // MWPhotoBrowser
- //
- // Created by Michael Waterfall on 14/10/2010.
- // Copyright 2010 d3i. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "MWPhotoProtocol.h"
- #import "MWTapDetectingImageView.h"
- #import "MWTapDetectingView.h"
- @class MWPhotoBrowser, MWPhoto, MWCaptionView;
- @interface MWZoomingScrollView : UIScrollView <UIScrollViewDelegate, MWTapDetectingImageViewDelegate, MWTapDetectingViewDelegate> {
- }
- @property () NSUInteger index;
- @property (nonatomic) id <MWPhoto> photo;
- @property (nonatomic, weak) MWCaptionView *captionView;
- @property (nonatomic, weak) UIButton *selectedButton;
- @property (nonatomic, weak) UIButton *playButton;
- -(void)setPhoto:(id<MWPhoto>)photo thumbPhoto:(id<MWPhoto>)thumbPhoto;
- - (id)initWithPhotoBrowser:(MWPhotoBrowser *)browser;
- - (void)displayImage;
- - (void)displayImageFailure;
- - (void)setMaxMinZoomScalesForCurrentBounds;
- - (void)prepareForReuse;
- - (BOOL)displayingVideo;
- - (void)setImageHidden:(BOOL)hidden;
- @end
|