home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / Palettes / ColorBrowser / ColorBrowserCell.h < prev    next >
Text File  |  1993-01-19  |  1KB  |  40 lines

  1. //---------------------------------------------------------------------------------------------------------
  2. //
  3. //    ColorBrowserCell
  4. //
  5. //    Inherits From:        NXBrowserCell
  6. //
  7. //    Declared In:        ColorBrowserCell.h
  8. //
  9. //    Class Description
  10. //
  11. //        ColorBrowserCell is a subclass of NXBrowserCell that provides
  12. //        access to the color attribute of the Text object used in drawing the 
  13. //        cell's text. Specificly, ColorBrowserCell allows the Text object's
  14. //        color to be any valid NXColor, whereas, NXBrowserCell only
  15. //        provides access to gray-scale color.
  16. //
  17. //
  18. //    Disclaimer
  19. //
  20. //        You may freely copy, distribute and reuse this software and its
  21. //        associated documentation. I disclaim any warranty of any kind, 
  22. //        expressed or implied, as to its fitness for any particular use.
  23. //
  24. //---------------------------------------------------------------------------------------------------------
  25. #import <appkit/appkit.h>
  26.  
  27.  
  28. @interface ColorBrowserCell : NXBrowserCell
  29. {
  30.     NXColor        textColor;
  31. }
  32.  
  33. //---------------------------------------------------------------------------------------------------------
  34. //    Accessor Methods
  35. //---------------------------------------------------------------------------------------------------------
  36. - (NXColor) textColor;
  37. - setTextColor: (NXColor) aColor;
  38.  
  39.  
  40. @end