home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / dbkit / DBTableVector.h < prev    next >
Text File  |  1992-09-08  |  900b  |  49 lines

  1. /*
  2. **      DBTableVector.h
  3. **      Database Kit, Release 3.0
  4. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  5. */
  6. #import <objc/Object.h>
  7. #import <appkit/graphics.h>
  8. #import <dbkit/tableProtocols.h>
  9.  
  10. typedef enum { HORIZONTAL, VERTICAL } Orientation;
  11.  
  12. @interface DBTableVector : Object <DBTableVectors>
  13. {
  14. @private
  15.     struct {
  16.     unsigned int
  17. #if    __BIG_ENDIAN__
  18.             autosizable:1,
  19.             editable:1,
  20.             resizable:1,
  21.             contentAlign:2,
  22.             titleAlign:2,
  23.             :25;
  24. #else    __BIG_ENDIAN__
  25.             :25,
  26.             titleAlign:2,
  27.             contentAlign:2,
  28.             resizable:1,
  29.             editable:1,
  30.             autosizable:1;
  31. #endif    __BIG_ENDIAN__
  32.     } _vFlags;
  33. @protected
  34.     id        identifier;        /* opaque id for dataSource */
  35.     id        formatter;        /* formats data in vector */
  36.  
  37.     NXCoord        minSize;
  38.     NXCoord        maxSize;
  39.     NXCoord        currentSize;        /* current width or height */
  40.     
  41.     char        *title;
  42.     id        titleFont;
  43. }
  44.  
  45. - initIdentifier:newIdentifier;
  46. - free;
  47.  
  48. @end
  49.