home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / MiscKit / Headers / misckit / MiscScreenColor.h < prev    next >
Encoding:
Text File  |  1994-03-23  |  1.2 KB  |  43 lines

  1. //
  2. //    MiscScreenColor.h -- a class for color "tints"  (to specify a halftone)
  3. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  4. //                Version 1.0.  All rights reserved.
  5. //
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This object is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14. #import <misckit/MiscColor.h>
  15.  
  16. @interface MiscScreenColor:MiscColor <NXTransport>
  17. {
  18.     NXPoint theLocation;
  19.     id theView;
  20. }
  21.  
  22. + (BOOL)canInitFromPasteboard:(Pasteboard *)pasteboard;
  23. - setFromPasteBoard:(Pasteboard *)pasteboard;
  24. - writeToPasteBoard:(Pasteboard *)pasteboard;
  25.  
  26. - initColor:(NXColor)color;
  27. - initColorFromPixel:(NXPoint *)location;
  28. - initColorFromPixel:(NXPoint *)location inView:view;
  29.  
  30. - (NXColor)actualColor;
  31. - (NXPoint)location;
  32. - view;
  33. - setView:aView;
  34. - setLocation:(NXPoint *)location;
  35. - updateColor;
  36.  
  37. - read:(NXTypedStream *)stream;
  38. - write:(NXTypedStream *)stream;
  39.  
  40. - (const char *)getInspectorClassName;
  41. - (NXImage *)getIBImage;
  42.  
  43. @end