-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathBFSceneViewController.h
More file actions
50 lines (38 loc) · 1.45 KB
/
BFSceneViewController.h
File metadata and controls
50 lines (38 loc) · 1.45 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
//
// SceneViewController.h
// Briefs
//
// Created by Rob Rhyne on 7/17/09.
// Copyright Digital Arch Design, 2009. See LICENSE file for details.
//
#import <UIKit/UIKit.h>
#import "BFSceneManager.h"
#import "BFSceneView.h"
@protocol BFSceneViewDelegate;
@interface BFSceneViewController : UIViewController
{
BFSceneManager *dataManager;
BFSceneView *current_scene;
id<BFSceneViewDelegate> delegate;
}
@property (nonatomic, retain) BFSceneManager *dataManager;
@property (nonatomic, retain) BFSceneView *current_scene;
@property (assign) id<BFSceneViewDelegate> delegate;
- (id)initWithSceneManager:(BFSceneManager*)manager;
// Local Dispatch Methods
- (BOOL)willLoadSceneWithIndex:(int)index;
- (BOOL)willLoadSceneWithIndex:(int)index usingTransition:(NSString *)transition;
- (BOOL)willToggleActorWithIndex:(int)index;
- (BOOL)willResizeActorWithIndex:(int)index toSize:(CGSize)size;
- (BOOL)willMoveActorWithIndex:(int)index toPoint:(CGPoint)point;
- (BOOL)willShowActorWithIndex:(int)index;
- (BOOL)willHideActorWithIndex:(int)index;
// Global Dispatch Methods
- (BOOL)willShowKeyboard:(NSString *)type;
- (void)willStopShowingScene;
// Convenience Methods
- (void)performTransition:(NSString *)transition onEnteringView:(BFSceneView *)entering removingOldView:(BFSceneView *)exiting;
@end
@protocol BFSceneViewDelegate
- (void)sceneView:(BFSceneViewController *)controller shouldDismissView:(BOOL)animated;
@end