home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / motif_dev.idb / usr / include / Sgm / ColumnP.h.z / ColumnP.h
C/C++ Source or Header  |  1996-03-14  |  4KB  |  120 lines

  1. /*******************************************************************************
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. *******************************************************************************/
  17.  
  18. #ifndef _SgColumnP_h
  19. #define _SgColumnP_h
  20.  
  21. #include <Xm/Xm.h>
  22. #include <Xm/BulletinBP.h>
  23. #include "Column.h"
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. typedef struct _SgColumnConstraintPart
  30. {
  31.     int         row;
  32.     XmString    label;
  33.     Pixmap      pixmap;
  34.     
  35.  
  36. #ifdef sgi
  37. /* Allow future extensions without breaking shared library compatibility */
  38.    caddr_t _SG_vendorExtension;
  39. #endif /* sgi */
  40. } SgColumnConstraintPart, *SgColumnConstraint;
  41.  
  42. typedef struct _SgColumnConstraintRec
  43. {
  44.    XmManagerConstraintPart       manager;
  45.    SgColumnConstraintPart       column;
  46. } SgColumnConstraintRec, *SgColumnConstraintPtr;
  47.  
  48.  
  49. /*  Column class structure  */
  50.  
  51. typedef struct _SgColumnClassPart
  52. {
  53.    int foo;    /*  No new fields needed  */
  54. #ifdef sgi
  55. /* Allow future extensions without breaking shared library compatibility */
  56.    caddr_t _SG_vendorExtension;
  57. #endif /* sgi */
  58. } SgColumnClassPart;
  59.  
  60.  
  61. /*  Full class record declaration for form class  */
  62.  
  63. typedef struct _SgColumnClassRec
  64. {
  65.    CoreClassPart             core_class;
  66.    CompositeClassPart        composite_class;
  67.    ConstraintClassPart       constraint_class;
  68.    XmManagerClassPart        manager_class;
  69.    XmBulletinBoardClassPart  bulletin_board_class;
  70.    SgColumnClassPart         column_class;
  71. } SgColumnClassRec;
  72.  
  73. externalref SgColumnClassRec sgColumnClassRec;
  74.  
  75. /*  The Column instance record  */
  76.  
  77. typedef struct _SgColumnPart
  78. {
  79.     Dimension      horizontal_spacing;
  80.     Dimension      vertical_spacing;
  81.     unsigned char  caption_vertical_alignment;
  82.     unsigned char  caption_horizontal_alignment;
  83.     unsigned char  child_horizontal_alignment;        
  84.     XmFontList     font_list;
  85.     GC             gc;
  86.     Boolean        resize;
  87.  
  88. #ifdef sgi
  89. /* Allow future extensions without breaking shared library compatibility */
  90.    caddr_t _SG_vendorExtension;
  91. #endif /* sgi */
  92. } SgColumnPart;
  93.  
  94. /*  Full instance record declaration  */
  95.  
  96. typedef struct _SgColumnRec
  97. {
  98.    CorePart            core;
  99.    CompositePart        composite;
  100.    ConstraintPart       constraint;
  101.    XmManagerPart        manager;
  102.    XmBulletinBoardPart  bulletin_board;
  103.    SgColumnPart         column;
  104. } SgColumnRec;
  105.  
  106. /********    Private Function Declarations    ********/
  107. #ifdef _NO_PROTO
  108.  
  109. #else
  110.  
  111. #endif /* _NO_PROTO */
  112. /********    End Private Function Declarations    ********/
  113.  
  114. #ifdef __cplusplus
  115. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  116. #endif
  117.  
  118. #endif /* _SgColumnP_h */
  119. /* DON'T ADD ANYTHING AFTER THIS #endif */
  120.