1 /* EffectsPage */ 2 3 #import <Cocoa/Cocoa.h> 4 5 #import "PreferencePage.h" 6 7 class TCAlert; 8 9 @interface EffectsPage : PreferencePage 10 { 11 IBOutlet NSButton *alternateLightingCheck; 12 IBOutlet NSButton *flatShadingCheck; 13 IBOutlet NSButton *hideLightDatGeom; 14 IBOutlet NSButton *highQualityCheck; 15 IBOutlet NSBox *lightDirBox; 16 IBOutlet NSMatrix *lightDirMatrix; 17 IBOutlet NSButton *lightingCheck; 18 IBOutlet NSTextField *opacityLabel; 19 IBOutlet NSSlider *opacitySlider; 20 IBOutlet NSButton *replaceStandardLightCheck; 21 IBOutlet NSButton *smoothCurvesCheck; 22 IBOutlet NSButton *sortTransCheck; 23 IBOutlet NSButton *specularCheck; 24 IBOutlet NSTextField *stereoAmountLabel; 25 IBOutlet NSSlider *stereoAmountSlider; 26 IBOutlet NSButton *stereoCheck; 27 IBOutlet NSButton *crossEyedRadio; 28 IBOutlet NSButton *parallelRadio; 29 IBOutlet NSButton *stippleTransCheck; 30 IBOutlet NSButton *subduedCheck; 31 IBOutlet NSButton *useLightDatCheck; 32 IBOutlet NSTextField *wcThicknessLabel; 33 IBOutlet NSSlider *wcThicknessSlider; 34 IBOutlet NSButton *wireframeCutawayCheck; 35 IBOutlet NSButton *cutawayColorRadio; 36 IBOutlet NSButton *cutawayMonochromeRadio; 37 } 38 39 - (IBAction)lighting:(id)sender; 40 - (IBAction)useLightDats:(id)sender; 41 - (IBAction)stereo:(id)sender; 42 - (IBAction)wireframeCutaway:(id)sender; 43 - (IBAction)sort:(id)sender; 44 - (IBAction)stipple:(id)sender; 45 - (IBAction)flatShading:(id)sender; 46 - (IBAction)smoothCurves:(id)sender; 47 - (IBAction)stereoModeChanged:(id)sender; 48 - (IBAction)cutawayModeChanged:(id)sender; 49 50 - (void)lightVectorChanged:(TCAlert *)alert; 51 52 - (void)setup; 53 - (bool)updateLdPreferences; 54 55 @end 56