1 //
2 //  PRCCrop.h
3 //  PRICE
4 //
5 //  Created by Riccardo Mottola on Fri Jan 28 2005.
6 //  Copyright (c) 2005-2014 Carduus. 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 #import <AppKit/AppKit.h>
12 
13 #import "PRFilterController.h"
14 
15 @interface PRCCrop : PRFilterController
16 {
17   IBOutlet NSWindow *cropWindow;
18   IBOutlet NSTextField *topField;
19   IBOutlet NSTextField *bottomField;
20   IBOutlet NSTextField *leftField;
21   IBOutlet NSTextField *rightField;
22   IBOutlet NSTextField *widthField;
23   IBOutlet NSTextField *heightField;
24   NSInteger origWidth;
25   NSInteger origHeight;
26 }
27 
28 - (IBAction)changeTop:(id)sender;
29 - (IBAction)changeBottom:(id)sender;
30 - (IBAction)changeLeft:(id)sender;
31 - (IBAction)changeRight:(id)sender;
32 - (IBAction)resetValues:(id)sender;
33 - (void)updateSize;
34 
35 @end
36 
37 
38