home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / WindowDepth.bproj / MyNXBrowserCell.h < prev    next >
Encoding:
Text File  |  1997-11-10  |  1.0 KB  |  52 lines

  1. /* Copyright (c) 1992 by NightShade Software
  2.  *
  3.  * NAME
  4.  *     MyNXBrowserCell:NXBrowserCell
  5.  *
  6.  * DESCRIPTION
  7.  *     ----
  8.  *
  9.  * COMMENTS/PROBLEMS
  10.  *     ----
  11.  *
  12.  * AUTHOR/DATE CREATED
  13.  *     Gary Ritchie/November 24, 1992
  14.  *
  15.  * REVISIONS
  16.  *
  17.  */
  18.  
  19. #import <appkit/appkit.h>
  20.  
  21. @interface MyNXBrowserCell:NXBrowserCell
  22. {
  23.     int tag;
  24.     NXAtom owner;        // The name of the application
  25.     int depth;            // The WindowDepthLimit
  26.     BOOL test;            // YES if using Test prefix
  27.     BOOL nextstep;        // YES if NEXTSTEP default
  28.     BOOL openstep;        // YES if OPENSTEP default (can be both).
  29.     id depthImage;        // Image displayed for depth
  30.         
  31.     NXCoord ascender, descender, lineHeight;
  32. }
  33.  
  34. - initTextCell:(const char *)aString;
  35. - setTag:(int)aTag;
  36. - (int)tag;
  37. - setOwner:(NXAtom)theOwner;
  38. - (NXAtom)owner;
  39. - setDepth:(int)theDepth;
  40. - (int)depth;
  41. - setTestMode:(BOOL)flag;
  42. - (BOOL)testMode;
  43. - setNextstep:(BOOL)flag;
  44. - (BOOL)nextstep;
  45. - setOpenstep:(BOOL)flag;
  46. - (BOOL)openstep;
  47.  
  48. - setFont:fontObj;
  49. - drawInside:(const NXRect *)cellFrame inView:controlView;
  50.  
  51. @end
  52.