]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIScroller.h
Commit the Preferences folder (for WinterBoard).
[iphone-api.git] / UIKit / UIScroller.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <UIKit/UIView.h>
8
9 #include <CoreGraphics/CGGeometry.h>
10
11 @class UIScrollerIndicator;
12
13 /*XXX:*/typedef struct {
14 double width;
15 double height;
16 } CDAnonymousStruct1;
17
18 @interface UIScroller : UIView
19 {
20 struct CGSize _contentSize;
21 id _delegate;
22 UIScrollerIndicator *_verticalScrollerIndicator;
23 UIScrollerIndicator *_horizontalScrollerIndicator;
24 struct {
25 unsigned int bounceEnabled:1;
26 unsigned int rubberBanding:1;
27 unsigned int scrollingDisabled:1;
28 unsigned int scrollingDisabledOnMouseDown:1;
29 unsigned int directionalLockEnabled:1;
30 unsigned int eventMode:3;
31 unsigned int dragging:1;
32 unsigned int mouseDragged:1;
33 unsigned int scrollTriggered:1;
34 unsigned int dontSelect:1;
35 unsigned int contentHighlighted:1;
36 unsigned int lockVertical:1;
37 unsigned int lockHorizontal:1;
38 unsigned int keepLocked:1;
39 unsigned int bouncedVertical:1;
40 unsigned int bouncedHorizontal:1;
41 unsigned int mouseUpGuard:1;
42 unsigned int pushedTrackingMode:1;
43 unsigned int delegateScrollerDidScroll:1;
44 unsigned int delegateScrollerAdjustSmoothScrollEndVelocity:1;
45 unsigned int delegateScrollerShouldAdjustSmoothScrollEndForVelocity:1;
46 unsigned int offsetIgnoresContentSize:1;
47 unsigned int usingThumb:1;
48 unsigned int thumbDetectionEnabled:1;
49 unsigned int showScrollerIndicators:1;
50 unsigned int indicatorSubrect:1;
51 unsigned int indicatorHideInGesture:1;
52 unsigned int pinIndicatorToContent:1;
53 unsigned int indicatorStyle:2;
54 unsigned int multipleDrag:1;
55 unsigned int showBackgroundShadow:1;
56 unsigned int cancelNextContentMouseUp:1;
57 unsigned int displayingScrollIndicators:1;
58 unsigned int dontResetStartTouchPosition:1;
59 unsigned int verticalIndicatorShrunk:1;
60 unsigned int horizontalIndicatorShrunk:1;
61 unsigned int highlightContentImmediately:1;
62 unsigned int adjustedEndOffset:1;
63 unsigned int ignoreNextMouseDrag:1;
64 unsigned int contentFitDisableScrolling:1;
65 unsigned int dontScrollToTop:1;
66 unsigned int scrollingToTop:1;
67 unsigned int delegateScrollerAdjustScrollToTopEnd:1;
68 unsigned int reserved:18;
69 } _scrollerFlags;
70 float _scrollHysteresis;
71 float _scrollDecelerationFactor;
72 double _scrollToPointAnimationDuration;
73 float _directionalScrollingAngle;
74 float _farthestDistance;
75 float _leftRubberBandWidth;
76 float _rightRubberBandWidth;
77 float _topRubberBandHeight;
78 float _bottomRubberBandHeight;
79 float _bottomBufferHeight;
80 struct CGPoint _initialTouchPosition;
81 struct CGPoint _startTouchPosition;
82 double _startTouchTime;
83 struct CGPoint _startOffset;
84 struct CGPoint _lastTouchPosition;
85 double _lastTouchTime;
86 double _lastUpdateTime;
87 struct CGPoint _lastUpdateOffset;
88 UIView *_lastHighlightedView;
89 CDAnonymousStruct1 _velocity;
90 CDAnonymousStruct1 _previousVelocity;
91 CDAnonymousStruct1 _decelerationFactor;
92 CDAnonymousStruct1 _decelerationLnFactor;
93 struct CGPoint _stopOffset;
94 void *_scrollHeartbeat;
95 struct CGRect _indicatorSubrect;
96 UIView *_scrollerShadows[2];
97 UIView *_contentShadows[8];
98 id _scrollNotificationViews;
99 struct CGSize _gridSize;
100 CDAnonymousStruct1 _gridBounceLnFactor;
101 }
102
103 - (id)initWithFrame:(struct CGRect)fp8;
104 - (void)dealloc;
105 - (void)setFrame:(struct CGRect)fp8;
106 - (void)setContentSize:(struct CGSize)fp8;
107 - (struct CGSize)contentSize;
108 - (void)setAdjustForContentSizeChange:(BOOL)fp8;
109 - (BOOL)adjustForContentSizeChange;
110 - (void)setOffset:(struct CGPoint)fp8;
111 - (struct CGPoint)offset;
112 - (void)setBottomBufferHeight:(float)fp8;
113 - (float)bottomBufferHeight;
114 - (void)scrollByDelta:(struct CGSize)fp8;
115 - (void)scrollByDelta:(struct CGSize)fp8 animated:(BOOL)fp16;
116 - (void)removeFromSuperview;
117 - (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
118 - (struct CGPoint)_pinnedScrollPointForPoint:(struct CGPoint)fp8;
119 - (void)scrollPointVisibleAtTopLeft:(struct CGPoint)fp8;
120 - (void)_scrollAnimationEnded;
121 - (void)scrollPointVisibleAtTopLeft:(struct CGPoint)fp8 animated:(BOOL)fp16;
122 - (void)scrollRectToVisible:(struct CGRect)fp8 animated:(BOOL)fp24;
123 - (void)scrollRectToVisible:(struct CGRect)fp8;
124 - (void)setScrollToPointAnimationDuration:(double)fp8;
125 - (double)scrollToPointAnimationDuration;
126 - (void)setScrollHysteresis:(float)fp8;
127 - (float)scrollHysteresis;
128 - (void)setEventMode:(int)fp8;
129 - (int)eventMode;
130 - (void)setAllowsRubberBanding:(BOOL)fp8;
131 - (void)setAllowsVerticalRubberBanding:(BOOL)fp8;
132 - (void)setAllowsHorizontalRubberBanding:(BOOL)fp8;
133 - (void)setAllowsFourWayRubberBanding:(BOOL)fp8;
134 - (void)setDirectionalScrolling:(BOOL)fp8;
135 - (BOOL)directionalScrolling;
136 - (void)setDirectionalScrollingAngle:(float)fp8;
137 - (float)directionalScrollingAngle;
138 - (void)setScrollingEnabled:(BOOL)fp8;
139 - (BOOL)scrollingEnabled;
140 - (void)setScrollDecelerationFactor:(float)fp8;
141 - (float)scrollDecelerationFactor;
142 - (void)setBounces:(BOOL)fp8;
143 - (BOOL)bounces;
144 - (void)setGridSize:(struct CGSize)fp8;
145 - (struct CGSize)gridSize;
146 - (void)setThumbDetectionEnabled:(BOOL)fp8;
147 - (BOOL)thumbDetectionEnabled;
148 - (void)setShowScrollerIndicators:(BOOL)fp8;
149 - (BOOL)showScrollerIndicators;
150 - (void)setScrollerIndicatorSubrect:(struct CGRect)fp8;
151 - (struct CGRect)scrollerIndicatorSubrect;
152 - (void)setScrollerIndicatorsPinToContent:(BOOL)fp8;
153 - (BOOL)scrollerIndicatorsPinToContent;
154 - (void)setScrollerIndicatorStyle:(int)fp8;
155 - (int)scrollerIndicatorStyle;
156 - (void)displayScrollerIndicators;
157 - (void)setRubberBand:(float)fp8 forEdges:(unsigned int)fp12;
158 - (float)rubberBandValueForEdge:(unsigned int)fp8;
159 - (BOOL)releaseRubberBandIfNecessary;
160 - (void)setDelegate:(id)fp8;
161 - (id)delegate;
162 - (void)setShowBackgroundShadow:(BOOL)fp8;
163 - (BOOL)showBackgroundShadow;
164 - (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
165 - (void)mouseDown:(struct __GSEvent *)fp8;
166 - (void)setOffsetForDragOffset:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16 duration:(float)fp20;
167 - (struct CGPoint)dragStartOffset;
168 - (void)mouseDragged:(struct __GSEvent *)fp8;
169 - (void)gestureStarted:(struct __GSEvent *)fp8;
170 - (void)gestureChanged:(struct __GSEvent *)fp8;
171 - (void)gestureEnded:(struct __GSEvent *)fp8;
172 - (void)_popTrackingRunLoopMode;
173 - (void)mouseUp:(struct __GSEvent *)fp8;
174 - (id)hitTest:(struct CGPoint)fp8 withEvent:(id)fp16;
175 - (void)touchesBegan:(id)fp8 withEvent:(id)fp12;
176 - (void)touchesMoved:(id)fp8 withEvent:(id)fp12;
177 - (void)touchesEnded:(id)fp8 withEvent:(id)fp12;
178 - (void)touchesCancelled:(id)fp8 withEvent:(id)fp12;
179 - (BOOL)canHandleSwipes;
180 - (int)swipe:(int)fp8 withEvent:(struct __GSEvent *)fp12;
181 - (BOOL)_commonCancelMouseAndTouchTracking;
182 - (BOOL)cancelMouseTracking;
183 - (BOOL)cancelTouchTracking;
184 - (void)cancelNextContentMouseUp;
185 - (void)contentMouseUpInView:(id)fp8 withEvent:(void *)fp12;
186 - (void)highlightView:(id)fp8 state:(BOOL)fp12;
187 - (void)setHighlightContentImmediately:(BOOL)fp8;
188 - (CDAnonymousStruct1)velocity;
189 - (BOOL)isScrolling;
190 - (BOOL)isDecelerating;
191 - (BOOL)adjustSmoothScrollEnd:(CDAnonymousStruct1)fp8;
192 - (BOOL)scrollsToTop;
193 - (void)setScrollsToTop:(BOOL)fp8;
194 - (BOOL)_scrollToTop;
195
196 @end
197