1 //
2 //  PXGridSettingsPrompter.h
3 //  Pixen-XCode
4 //
5 //  Created by Andy Matuschak on Thu Mar 18 2004.
6 //  Copyright (c) 2004 Open Sword Group. All rights reserved.
7 //
8 
9 #import <AppKit/AppKit.h>
10 
11 @interface NSObject(PXGridSettingsPrompterDelegate)
12 - (void)gridSettingsPrompter:aPrompter updatedWithSize:(NSSize)aSize color:color shouldDraw:(BOOL)shouldDraw;
13 @end
14 
15 @interface PXGridSettingsPrompter : NSWindowController
16 {
17     IBOutlet NSForm * sizeForm;
18 	IBOutlet id colorWell;
19 	IBOutlet id shouldDrawCheckBox;
20 	IBOutlet id colorLabel, sizeLabel;
21 	NSSize unitSize;
22 	id color;
23     id delegate;
24 	BOOL shouldDraw;
25 }
26 
27 - initWithSize:(NSSize)aSize color:aColor shouldDraw:(BOOL)shouldDraw;
28 - (void)setDelegate:newDelegate;
29 - (void)prompt;
30 - (IBAction)update:sender;
31 - (IBAction)useAsDefaults:sender;
32 
33 @end
34