-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmmReader.h
More file actions
92 lines (56 loc) · 1.77 KB
/
mmReader.h
File metadata and controls
92 lines (56 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
//
// mmReader.h
// circus-one
//
// Created by colman on 14.07.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Bar.h"
#import <MediaPlayer/MPMoviePlayerController.h>
#define kAccelerometerFrequency 40
@interface mmReader : UIViewController <UIAccelerometerDelegate> {
BOOL transitioning;
MPMoviePlayerController *videoPlayer;
// The scrollView for the menu
UIScrollView * scrollView_doc ;
UIScrollView * scrollViewB;
// The ImageView that will be changed
// upon browsing and responding to gestures
UIImageView * docView;
UIImageView * temp;
UIImage * docI;
UIImage * tempI;
int height;
// postion of view
float scrollPosition;
NSArray * buttons;
// pdf by index from hardcoded strings
int pdfIndex;
// name of current file
NSString * nameOfFile;
//////////////////////////////////////////////
UISwipeGestureRecognizer *swipeLeftRecognizer;
UISegmentedControl *segmentedControl;
/////////////////////////
CGPoint touchPoint;
Bar * bar;
UIWebView * blog;
UIButton * videoButton;
CGRect landscapeVideoFrame_97;
CGRect portraitVideoFrame_97;
CGRect landscapeVideoFrame_2;
CGRect portraitVideoFrame_2;
CGRect landscapeVideoFrame_0;
CGRect portraitVideoFrame_0;
}
@property (nonatomic, retain) UISwipeGestureRecognizer *swipeLeftRecognizer;
@property (nonatomic, retain) IBOutlet UISegmentedControl *segmentedControl;
-(void) getNextIndex;
-(void) getPreviousIndex;
-(void) playVideo;
-(void) setVideoFrame;
// document string name is set
-(void) setDocument:(int) docIndex;
-(void) setScrollPosition:(float)var;
@end