OSDN Git Service

add undo/redo system
[eliscolors/main.git] / ElisWriterLegacy.h
1 //
2 //  ElisWriterLegacy.h
3 //  Elis Colors
4 //
5 //  Created by 柳 on 09/09/23.
6 //  Copyright 2009 __MyCompanyName__. All rights reserved.
7 //
8
9 // レガシーな動画書き出し器。
10 // この古代な感じはどうにかならないの?
11
12 #import <Cocoa/Cocoa.h>
13 #import "ElisBase.h"
14 #import "ElisController.h"
15
16 #define GAMMA 0.81818181
17
18 @interface ElisWriterLegacy : NSObject {
19     
20     IBOutlet id _mainView;
21     IBOutlet id _mainController;
22     IBOutlet id _barSheet;
23     IBOutlet id _bar;
24     IBOutlet id _mainWindow;
25     
26     NSRect outputSize;
27     unsigned char* gamma_table;
28     
29     
30     QTTime                              movieDuration;
31     
32     BOOL                                isExporting;
33     BOOL                                cancelExport;
34     char                                *contextPixels;             // readback buffer for the compression
35     char                                *flippedContextPixels;      // another buffer to flip the pixels as we read from the screen
36     UInt32                              contextRowBytes;
37     int                                 outputWidth;
38     int                                 outputHeight;
39     int                                 outputAlignment;
40     ImageDescriptionHandle outputImageDescription;          // describes our compression
41     
42     MovieExportComponent _myExporter;
43     BOOL _myCancelled;
44 }
45
46 @end