1 //
2 //  PRCScale.h
3 //  PRICE
4 //
5 //  Created by Riccardo Mottola on Wed Jan 19 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 
16 @interface PRCScale : PRFilterController
17 {
18   IBOutlet NSWindow      *scaleWindow;
19   IBOutlet NSTextField   *pixelsXField;
20   IBOutlet NSTextField   *pixelsYField;
21   IBOutlet NSTextField   *percentXField;
22   IBOutlet NSTextField   *percentYField;
23   IBOutlet NSButton      *uniformToggle;
24   IBOutlet NSPopUpButton *methodSelect;
25   NSInteger              pixelsX;
26   NSInteger              pixelsY;
27   NSInteger              originalWidth;
28   NSInteger              originalHeight;
29   float                  ratio;
30 }
31 
32 - (IBAction)changePixelsX:(id)sender;
33 - (IBAction)changePixelsY:(id)sender;
34 - (IBAction)changePercentX:(id)sender;
35 - (IBAction)changePercentY:(id)sender;
36 
37 @end
38