This is PageLayout.h in view mode; [Download] [Up]
/* Interface for PageLayout class * * Copyright (C) 199r The Board of Trustees of * The Leland Stanford Junior University. All Rights Reserved. * * Authors: Scott Francis, and Paul Kunz * * This file is part of an Objective-C class library for a window system * * PageLayout.h,v 1.6 1994/12/14 02:16:01 lakata Exp */ #ifndef _Page_Layout_h_ #define _Page_Layout_h_ #include "Panel.h" /* Returns the size of a given type of paper */ extern const NXSize *NXFindPaperSize(const char *paperName); typedef enum _NXMeasurementUnit { NX_UnitInch = 0, NX_UnitCentimeter = 1, NX_UnitPoint = 2, NX_UnitPica = 3 } NXMeasurementUnit; /* Tags of Controls in the Page Layout panel */ #define NX_PLICONBUTTON 50 #define NX_PLTITLEFIELD 51 #define NX_PLPAPERSIZEBUTTON 52 #define NX_PLLAYOUTBUTTON 53 #define NX_PLUNITSBUTTON 54 #define NX_PLWIDTHFORM 55 #define NX_PLHEIGHTFORM 56 #define NX_PLPORTLANDMATRIX 57 #define NX_PLSCALEFIELD 58 #define NX_PLCANCELBUTTON NX_CANCELTAG #define NX_PLOKBUTTON NX_OKTAG @interface PageLayout : Panel { id appIcon; id height; id width; id ok; id cancel; id orientation; id scale; id paperSizeList; id layoutList; id unitsList; int exitTag; id paperView; id _paperViewShadow; id accessoryView; char _currUnits; BOOL _otherPaper; unsigned short _reservedPageLayout1; unsigned int _reservedPageLayout2; unsigned int _reservedPageLayout3; unsigned int _reservedPageLayout4; unsigned int _reservedPageLayout5; } // + newContent:(const NXRect *)contentRect style:(int)aStyle // backing:(int)bufferingType buttonMask:(int)mask defer:(BOOL)flag; // + allocFromZone:(NSZone *)zone; // + alloc; // - free; // - setAccessoryView:aView; // - accessoryView; // - pickedButton:sender; // - pickedPaperSize:sender; // - pickedOrientation:sender; // - pickedLayout:sender; // - pickedUnits:sender; // - (BOOL)textWillChange:textObject; // - textDidEnd:textObject endChar:(unsigned short)theChar; // - readPrintInfo; // - writePrintInfo; // - (int)runModal; // - convertOldFactor:(float *)old newFactor:(float *)new; @end #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.