home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / SplitView / Controller.h < prev    next >
Encoding:
Text File  |  1996-02-05  |  1.0 KB  |  41 lines

  1. //
  2. //  Controller.h -- SplitViewExample controller
  3. //
  4. //  Written by Dwight Everhart
  5. //  Copyright (c) 1996 by Dwight D. Everhart.  All rights reserved.
  6. //  Version 1.1; February 5, 1996
  7. //
  8. //      This notice may not be removed from this source code.
  9. //
  10. //  This object is included in the MiscKit by permission from the author
  11. //  and its use is governed by the MiscKit license, found in the file
  12. //  "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  13. //  for a list of all applicable permissions and restrictions.
  14. //
  15.  
  16. #import <objc/Object.h>
  17. #import <dpsclient/event.h>
  18.  
  19. @interface Controller: Object
  20.  
  21. {
  22.    id vertSplitView;
  23.    id upperHorizSplitView;
  24.    id lowerHorizSplitView;
  25.    id topLeftView;
  26.    id topRightView;
  27.    id bottomLeftView;
  28.    id bottomRightView;
  29. }
  30.  
  31. - awakeFromNib;
  32.  
  33. /* MiscSplitView delegate methods: */
  34. - splitView: sender getMinY: (NXCoord *) minY maxY: (NXCoord *) maxY
  35.   ofSubviewAt: (int) offset;
  36. - splitView: sender getMinX: (NXCoord *) minX maxX: (NXCoord *) maxX
  37.   ofSubviewAt: (int) offset;
  38.  
  39. @end
  40.  
  41.