diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2013-09-24 16:58:27 +0100 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2013-09-24 16:58:27 +0100 |
commit | d4a69b3f24c3697cb0e77b7685468423c0949a71 (patch) | |
tree | 6677063014ee56fcdb45e8307805c87405d4b3b0 /platform/ios/Classes/MuDocumentController.h | |
parent | aa8bf97eb104986fae3245bc675bd50dded01804 (diff) | |
download | mupdf-d4a69b3f24c3697cb0e77b7685468423c0949a71.tar.xz |
iOS: add reflow mode
Diffstat (limited to 'platform/ios/Classes/MuDocumentController.h')
-rw-r--r-- | platform/ios/Classes/MuDocumentController.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuDocumentController.h b/platform/ios/Classes/MuDocumentController.h index b15d629a..3ec981f8 100644 --- a/platform/ios/Classes/MuDocumentController.h +++ b/platform/ios/Classes/MuDocumentController.h @@ -16,17 +16,19 @@ #import "MuOutlineController.h" #import "MuDocRef.h" -@interface MuDocumentController : UIViewController <UIScrollViewDelegate, UISearchBarDelegate> +@interface MuDocumentController : UIViewController <UIScrollViewDelegate, UIGestureRecognizerDelegate, UISearchBarDelegate> { fz_document *doc; MuDocRef *docRef; NSString *key; + BOOL reflowMode; MuOutlineController *outline; UIScrollView *canvas; UILabel *indicator; UISlider *slider; UISearchBar *searchBar; UIBarButtonItem *nextButton, *prevButton, *cancelButton, *searchButton, *outlineButton, *linkButton; + UIBarButtonItem *reflowButton; UIBarButtonItem *sliderWrapper; int searchPage; int cancelSearch; @@ -35,6 +37,7 @@ int height; int current; // currently visible page int scroll_animating; // stop view updates during scrolling animations + float scale; // scale applied to views (only used in reflow mode) } - (id) initWithFilename: (NSString*)nsfilename document: (MuDocRef *)aDoc; - (void) createPageView: (int)number; |