summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginConfigController.h
blob: ea8e10ff60c792745c8d1cf7aa0338a880dbe994 (plain) (blame)
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
/* NetSfPeopsSoftGPUPluginConfigController */

#define PluginConfigController NetSfPeopsSoftGPUPluginConfigController

#import <Cocoa/Cocoa.h>

@interface NetSfPeopsSoftGPUPluginConfigController : NSWindowController
{
    IBOutlet NSControl *autoFullScreen;
    IBOutlet NSPopUpButton *ditherMode;
    IBOutlet NSControl *fpsCounter;
    IBOutlet NSControl *frameSkipping;
    IBOutlet NSControl *hackEnable;
    IBOutlet NSView *hacksView;
	IBOutlet NSMatrix *hacksMatrix;
    IBOutlet NSControl *vSync;
	IBOutlet NSControl *shaders;
	IBOutlet NSTextField *vertexShaderViewablePath;
	IBOutlet NSTextField *fragmentShaderViewablePath;
	IBOutlet NSControl *vertexChooser;
	IBOutlet NSControl *fragmentChooser;
	IBOutlet NSView *shadersView;
	IBOutlet NSPopUpButton *shaderQualitySelector;
	
	NSURL *vertexPath;
	NSURL *fragmentPath;
	 
	NSMutableDictionary *keyValues;
}

@property (strong) NSURL *vertexPath;
@property (strong) NSURL *fragmentPath;
@property (weak) IBOutlet NSFormCell *displayWidth;
@property (weak) IBOutlet NSFormCell *displayHeight;

- (IBAction)cancel:(id)sender;
- (IBAction)ok:(id)sender;
- (IBAction)reset:(id)sender;
- (IBAction)hackToggle:(id)sender;
- (IBAction)toggleShader:(id)sender;
- (IBAction)selectShader:(id)sender;

- (void)loadValues;

@end