OSDN Git Service

alpha2
[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 #import "ElisWriterDummyView.h"
16
17 #define GAMMA 0.81818181
18
19 @interface ElisWriterLegacy : NSObject {
20     
21     IBOutlet id _mainView;
22     id _mainController;
23     IBOutlet id _barSheet;
24     IBOutlet id _bar;
25     IBOutlet id _dummyWindow;
26     id _mainWindow;
27     
28     NSRect outputSize;
29     unsigned char* gamma_table;
30     
31     
32     QTTime                              movieDuration;
33     
34     BOOL                                isExporting;
35     BOOL                                cancelExport;
36     char                                *contextPixels;             // readback buffer for the compression
37     char                                *flippedContextPixels;      // another buffer to flip the pixels as we read from the screen
38     UInt32                              contextRowBytes;
39     int                                 outputWidth;
40     int                                 outputHeight;
41     int                                 outputAlignment;
42     ImageDescriptionHandle outputImageDescription;          // describes our compression
43     
44     MovieExportComponent _myExporter;
45     BOOL _myCancelled;
46 }
47
48 @end