-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCIRCUSViewController.h
More file actions
77 lines (54 loc) · 1.77 KB
/
CIRCUSViewController.h
File metadata and controls
77 lines (54 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
//
// CIRCUSViewController.h
// CIRCUS
//
// Created by colman on 27.07.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "mmReader.h"
#import "Player.h"
#import "VidPlayer.h"
#import <MediaPlayer/MPMoviePlayerController.h>
#define kAccelerometerFrequency 40
@interface CIRCUSViewController : UIViewController {
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// core elements main views etc
// The scrollView for the menu
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
UIScrollView *scrollView ;
// preview.pdf UIView
UIImageView * menuView;
UIImage * menu;
UIImageView * welcomeScreen;
UIView * container;
UIView * buttonContainer;
UIImage * welcome;
UIButton * buttons[100];
CGRect portFrame[100];
CGRect landFrame[100];
@public mmReader * mmRead;
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
// extras , rrbtn, video , turn done
////////////////////////////////////////////////////////////
UIButton * rrbtn;
Player * play;
MPMoviePlayerController *videoPlayer;
VidPlayer * p;
CGPoint deviceTilt;
bool alreadyDone;
bool turn;
float portFrameLocations[100][2];
//+- 137
float factor;
}
-(void) pleaseInit;
-(void) arrangeButtonsLand;
-(void) arrangeButtonsPort;
-(void) stateOfDevice:(BOOL)horiz:(BOOL)vert;
-(void) rotateWithState:(BOOL)horiz:(BOOL)vert;
@end