home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Examples / ScrollDir / SD_PageLayout.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  1.7 KB  |  51 lines

  1. #ifndef __SD_PageLayout_h
  2. #define __SD_PageLayout_h
  3. //=============================================================================
  4. //
  5. //    Copyright (C) 1996-1997 by Paul S. McCarthy and Eric Sunshine.
  6. //        Written by Paul S. McCarthy and Eric Sunshine.
  7. //                All Rights Reserved.
  8. //
  9. //    This notice may not be removed from this source code.
  10. //
  11. //    This object is included in the MiscKit by permission from the authors
  12. //    and its use is governed by the MiscKit license, found in the file
  13. //    "License.rtf" in the MiscKit distribution.  Please refer to that file
  14. //    for a list of all applicable permissions and restrictions.
  15. //
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // "SD_PageLayout.h"
  19. //
  20. //    PCS custom subclass of NeXT's appkit PageLayout panel that adds
  21. //    user controls for:
  22. //
  23. //        Margins
  24. //        Pagination
  25. //        Centering
  26. //
  27. //-----------------------------------------------------------------------------
  28. //-----------------------------------------------------------------------------
  29. // $Id: SD_PageLayout.h,v 1.1 97/03/21 18:32:17 sunshine Exp $
  30. // $Log:    SD_PageLayout.h,v $
  31. // Revision 1.1  97/03/21  18:32:17  sunshine
  32. // v28: Page layout panel.
  33. // 
  34. //-----------------------------------------------------------------------------
  35. #import    <AppKit/NSPageLayout.h>
  36. @class NSMatrix, NSTextField;
  37.  
  38. @interface SD_PageLayout : NSPageLayout
  39.     {
  40.     NSWindow*        accessoryWindow;
  41.     NSTextField*    leftMarginField;
  42.     NSTextField*    topMarginField;
  43.     NSTextField*    rightMarginField;
  44.     NSTextField*    bottomMarginField;
  45.     NSMatrix*        centerMatrix;
  46.     NSMatrix*        paginationMatrix;
  47.     }
  48. @end
  49.  
  50. #endif // __SD_PageLayout_h
  51.