1 // 2 // PRCCurves.h 3 // PRICE 4 // 5 // Created by Riccardo Mottola on 7 August 2011. 6 // Copyright 2011-2014 Riccardo Mottola. All rights reserved. 7 // 8 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 9 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 10 11 12 #import <Foundation/Foundation.h> 13 #import <AppKit/NSWindow.h> 14 15 #import "PRCurvesView.h" 16 #import "PRFilterController.h" 17 18 @class NSBezierPath; 19 20 @interface PRCCurves : PRFilterController 21 { 22 IBOutlet NSWindow *curvesWindow; 23 IBOutlet PRCurvesView *curvesView; 24 IBOutlet NSTextField *blackPointField; 25 IBOutlet NSTextField *whitePointField; 26 IBOutlet NSStepper *blackPointStepper; 27 IBOutlet NSStepper *whitePointStepper; 28 29 NSBezierPath *currPath; 30 } 31 32 - (IBAction)recalculateCurves:(id)sender; 33 34 - (IBAction)curvesReset:(id)sender; 35 - (IBAction)setBlackPoint:(id)sender; 36 - (IBAction)setWhitePoint:(id)sender; 37 38 - (void)setBlackPointValue:(int)val; 39 - (void)setWhitePointValue:(int)val; 40 41 42 @end 43