home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / BananaSplit / BananaSplit.h < prev    next >
Text File  |  1991-05-10  |  748b  |  35 lines

  1. /*  
  2.  * 
  3.  * BananaSplit.h    -- How to resize an NXSplitView
  4.  * 
  5.  * 
  6.  * You may freely copy, distribute, and reuse the code in this example.
  7.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  8.  * fitness for any particular use.
  9.  *
  10.  * Written by Henry Krempel -- NeXT Developer Support
  11.  *
  12.  * Wed Apr 10 15:09:41 1991
  13.  */
  14. #import <objc/Object.h>
  15. #import <appkit/NXSplitView.h>
  16.  
  17. @interface BananaSplit:Object
  18. {
  19.     id  bottomView;
  20.     id  doubleView;
  21.     id  topView;
  22. }
  23.  
  24. -appDidInit:sender;
  25.  
  26. - splitView:sender 
  27.     getMinY:(NXCoord *)minY  
  28.     maxY:(NXCoord *)maxY
  29.     ofSubviewAt:(int)offset;         
  30. - splitView:sender 
  31.     resizeSubviews:(const NXSize *)oldSize;
  32.  
  33. - windowWillResize:sender toSize:(NXSize *)frameSize;
  34. @end
  35.