home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / ScrollingText / PageScrollView.h < prev    next >
Text File  |  1991-04-21  |  659b  |  26 lines

  1. /* PageScrollView.h
  2. *  Purpose: A subclass of ScrollView which adds controls to the scroller area.
  3. *
  4. *  You may freely copy, distribute, and reuse the code in this example.
  5. *  NeXT disclaims any warranty of any kind, expressed or  implied, as to its fitness
  6. *  for any particular use.
  7. *
  8. */
  9.  
  10. #import <appkit/ScrollView.h>
  11.  
  12. @interface PageScrollView:ScrollView
  13. {
  14.     id pageUpButton, pageDownButton;  /* items in ScrollerGadgets.nib */
  15.     id pageForm, pageLabel, zoomPopUpList;  /* items in ScrollerGadgets.nib */
  16.     NXRect vertScrollerArea, horzScrollerArea;
  17. }
  18.  
  19. - initFrame: (const NXRect *)frameRect;
  20. - pageButton: sender;
  21. - pageTo: sender;
  22. - zoomTo: sender;
  23.  
  24.  
  25. @end
  26.