00001
00002
00003
00004
00005
00006
00007 #import "UIScroller.h"
00008
00009 @class NSTimer, UIView;
00010
00011 @interface AlbumScroller : UIScroller
00012 {
00013 BOOL _dragging;
00014 float _lastX;
00015 double _lastTimeStamp;
00016 float _dragSpeed;
00017 float _grabX;
00018 struct CGPoint _grabLoc;
00019 float _mySpeed;
00020 float _myX;
00021 float _destinationX;
00022 NSTimer *_updateTimer;
00023 int _lastScrollDirection;
00024 int _lastDragDirection;
00025 BOOL _shouldAdvance;
00026 UIView *_leftBackstopView;
00027 UIView *_rightBackstopView;
00028 float _slowDownFactor;
00029 }
00030
00031 - (void)dealloc;
00032 - (void)_cancelUpdateTimer;
00033 - (void)_startTimer;
00034 - (BOOL)isScrollingEnabled;
00035 - (BOOL)isSmoothScrolling;
00036 - (BOOL)isDragging;
00037 - (int)lastScrollDirection;
00038 - (BOOL)shouldAdvance;
00039 - (BOOL)_alwaysHandleInteractionEvents;
00040 - (void)mouseDown:(struct __GSEvent *)fp8;
00041 - (void)_updateDragInfoWithTimeInterval:(double)fp8 event:(struct __GSEvent *)fp16 smoothScrolling:(BOOL)fp20;
00042 - (void)_updateScrollWithTimeInterval:(double)fp8;
00043 - (void)_updateTimerFired:(id)fp8;
00044 - (void)mouseDragged:(struct __GSEvent *)fp8;
00045 - (void)mouseUp:(struct __GSEvent *)fp8;
00046 - (void)contentMouseUpInView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
00047 - (void)_releaseDrag;
00048 - (void)setScrollingEnabled:(BOOL)fp8;
00049 - (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
00050 - (void)setContentSize:(struct CGSize)fp8;
00051 - (void)setOffset:(struct CGPoint)fp8;
00052 - (void)_doScrollToOffset:(struct CGPoint)fp8 animate:(BOOL)fp16;
00053 - (void)ensureOffsetToImageBoundary;
00054 - (void)scrollToNextImageWithAnimation:(BOOL)fp8 offset:(struct CGPoint)fp12;
00055 - (void)scrollToPreviousImageWithAnimation:(BOOL)fp8 offset:(struct CGPoint)fp12;
00056 - (void)gestureStarted:(struct __GSEvent *)fp8;
00057 - (void)gestureEnded:(struct __GSEvent *)fp8;
00058 - (void)gestureChanged:(struct __GSEvent *)fp8;
00059
00060 @end
00061