/
ControlsController.h
51 lines (40 loc) · 1.25 KB
/
ControlsController.h
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
//
// ControlsController.h
// Animated Mandelbrot
//
// Created by Jon Stacey on 3/18/09.
// Copyright 2009 Jon Stacey. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <QTKit/QTKit.h>
#import <QuickTime/QuickTime.h>
@class FractalMovie;
@class JSIndeterminateProgressIndicatorCell;
@interface ControlsController : NSWindowController
{
BOOL controlsEnabled;
double movStartX;
double movStartY;
double movStartStep;
IBOutlet NSTextField *startCoordsTextField;
IBOutlet NSTextField *endCoordsTextField;
IBOutlet NSButton *setCurCoordsButton;
IBOutlet NSButton *redrawButton;
IBOutlet NSButton *resetButton;
IBOutlet NSButton *createMovieButton;
IBOutlet NSControl *progressIndicatorControl;
JSIndeterminateProgressIndicatorCell *progressIndicatorCell;
id fractalView;
id objectController;
}
- (id)initWithFractalView:(id)aFractalView
objectController:(id)anObjectController;
- (void)updateCoordinatesDisplay;
- (IBAction)redrawFractalView:(id)sender;
- (IBAction)setMovieStartingCoords:(id)sender;
- (IBAction)createMovie:(id)sender;
- (IBAction)resetFractalView:(id)sender;
- (IBAction)saveFractalViewAsImage:(id)sender;
@property(readwrite, assign) BOOL controlsEnabled;
//@property(readwrite, assign) id objectController;
@end