home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / NXColorWell.h < prev    next >
Text File  |  1992-02-03  |  966b  |  50 lines

  1. /*
  2.     NXColorWell.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Control.h"
  8.  
  9. @interface NXColorWell : Control
  10. {
  11.      NXColor color;
  12.      id _target;
  13.      SEL _action;
  14.      BOOL _isActive, _isBordered, _cantDraw, _isNotContinuous;
  15.      void *_reservedPtr;
  16. }
  17.  
  18. + deactivateAllWells;
  19. + activeWellsTakeColorFrom:sender;
  20. + activeWellsTakeColorFrom:sender continuous:(BOOL)flag;
  21.  
  22. - initFrame:(const NXRect *)theFrame;
  23.  
  24. - deactivate;
  25. - (int)activate:(int)exclusive;
  26. - (BOOL)isActive;
  27. - (BOOL)isContinuous;
  28. - setContinuous:(BOOL)flag;
  29.  
  30. - drawWellInside:(const NXRect *)insideRect;
  31. - drawSelf:(const NXRect *)rects :(int)rectCount;
  32.  
  33. - setEnabled:(BOOL)flag;
  34. - (BOOL)isBordered;
  35. - setBordered:(BOOL)flag;
  36. - awake;
  37. - (BOOL)acceptsFirstMouse;
  38. - mouseDown:(NXEvent *)theEvent;
  39.  
  40. - takeColorFrom:sender;
  41. - setColor:(NXColor)color;
  42. - (NXColor)color;
  43.  
  44. - target;
  45. - setTarget:anObject;
  46. - (SEL)action;
  47. - setAction:(SEL)aSelector;
  48.  
  49. @end
  50.