topical media & game development
#mobile-application-10-DerbyApp-build-iphone-Classes-TiUIScrollableView.h / h
Appcelerator Titanium Mobile
Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
Licensed under the terms of the Apache Public License
Please see the LICENSE included with this distribution for details.
WARNING: This is generated code. Modify at your own risk and without support.
ifdef USE_TI_UISCROLLABLEVIEW
#import <TiUIView.h>
@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {
@private
UIScrollView *scrollview;
UIPageControl *pageControl;
int currentPage; // Duplicate some info, just in case we're not showing the page control
BOOL showPageControl;
CGFloat pageControlHeight;
BOOL handlingPageControlEvent;
CGFloat maxScale;
CGFloat minScale;
// Have to correct for an apple goof; rotation stops scrolling, AND doesn't move to the next page.
BOOL rotatedWhileScrolling;
// See the code for why we need this...
int lastPage;
int cacheSize;
}
-(void)manageRotation;
-(UIScrollView*)scrollview;
@end
endif
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.