// // PRCCrop.h // PRICE // // Created by Riccardo Mottola on Fri Jan 28 2005. // Copyright (c) 2005 Carduus. All rights reserved. // // This program is free software; you can redistribute it and/or modify it under the terms of the version 2 of the GNU General Public License as published by the Free Software Foundation. // 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. #import @interface PRCCrop : NSObject { IBOutlet NSWindow *cropWindow; IBOutlet NSTextField *topField; IBOutlet NSTextField *bottomField; IBOutlet NSTextField *leftField; IBOutlet NSTextField *rightField; IBOutlet NSTextField *widthField; IBOutlet NSTextField *heightField; int origWidth; int origHeight; } - (IBAction)showCrop:(id)sender; - (IBAction)cropOK:(id)sender; - (IBAction)cropCancel:(id)sender; - (IBAction)changeTop:(id)sender; - (IBAction)changeBottom:(id)sender; - (IBAction)changeLeft:(id)sender; - (IBAction)changeRight:(id)sender; - (IBAction)resetValues:(id)sender; - (void)updateSize; @end