#import #import //#import #import "zlib/unzip.h" #import "ScrollImage.h" @interface ImageView : UIView { ScrollImage* _scroller1; ScrollImage* _scroller2; ScrollImage* _currentscroll; unzFile zipfile; // pointer NSMutableArray* filenamelist; //ZIP内のファイル名一覧 int _currentpos; //表示イメージのページ番号 UIImage* _nowimage; //表示イメージ UITransitionView* _transition; // char _filenamebuf[512]; //ZIPファイルパス id _fileDelegate; // int _orient; //回転角度 // UIProgressIndicator * _progressIndicator; } -(void) setFile : (NSString*) fname; -(void) nextFile; -(void) prevFile; -(void) dofileEnd; -(int) reloadFile; -(int) reloadFile:(bool)flag; -(void) setPage : (int) page; -(void) setImageDelegate: (id) dele; -(void) setOrientation: (int) orientation; -(void) setScroll:(BOOL) flag decelerationFactor:(float)dec; -(void) gravity: (float)x gy:(float) y gz:(float)z; -(CGSize) resizeMaxImage:(CGSize)image; -(void) scrollToTopRightTmp; @end