home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Palettes / MiscTeePalette / MiscDimpleCell.h < prev    next >
Encoding:
Text File  |  1994-06-10  |  961 b   |  34 lines

  1. //
  2. //    MiscDimpleCell.h -- An NXBrowserCell subclass that adds a mark image so
  3. //                        a list can have an appearance similar to the IB
  4. //                        connection inspector list.
  5. //
  6. //        Written by David Fedchenko.  Copyright 1994 by David Fedchenko.
  7. //                Version 1.0  All rights reserved.
  8. //
  9. //        This notice may not be removed from this source code.
  10. //
  11. //    This object is included in the MiscKit by permission from the author
  12. //    and its use is governed by the MiscKit license, found in the file
  13. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  14. //    for a list of all applicable permissions and restrictions.
  15. //    
  16.  
  17. #import <appkit/appkit.h>
  18.  
  19. @interface MiscDimpleCell:NXBrowserCell
  20.     {
  21.     BOOL fMarked;
  22.     }
  23.  
  24. + setMarkImage:anImage;
  25. + markImage;
  26. - setMarked:(BOOL)flag;
  27. -(BOOL) marked;
  28.  
  29. - drawInside:(const NXRect *)cellFrame inView:controlView;
  30. - highlight:(const NXRect *)cellFrame inView:aView lit:(BOOL)lit;
  31. - drawMark:(const NXRect *)cellFrame;
  32.  
  33. @end
  34.