1 // 2 // PXInfoPanelController.h 3 // Pixen-XCode 4 // 5 // Created by Andy Matuschak on Thu Jul 29 2004. 6 // Copyright (c) 2004 Open Sword Group. All rights reserved. 7 // 8 9 #import <Foundation/NSObject.h> 10 #import <Foundation/NSGeometry.h> 11 12 #import <AppKit/NSNibDeclarations.h> 13 14 @class NSPanel; 15 @class NSTextField; 16 17 @interface PXInfoPanelController : NSObject 18 { 19 NSPoint draggingOrigin; 20 21 id teensyHexView; 22 23 IBOutlet NSPanel *panel; 24 25 IBOutlet NSTextField *cursorX; 26 IBOutlet NSTextField *cursorY; 27 IBOutlet NSTextField *width; 28 IBOutlet NSTextField *height; 29 IBOutlet NSTextField *red; 30 IBOutlet NSTextField *green; 31 IBOutlet NSTextField *blue; 32 IBOutlet NSTextField *alpha; 33 } 34 35 //singleton 36 + (id) sharedInfoPanelController; 37 38 - (void)setCursorPosition: (NSPoint)point; 39 - (void)setColorInfo:color; 40 - (void)setCanvasSize: (NSSize)size; 41 - (void)setDraggingOrigin: (NSPoint)point; 42 43 //Accessor 44 - (NSPanel *) infoPanel; 45 46 @end 47