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 / IconG.h.z / IconG.h
C/C++ Source or Header  |  1996-03-14  |  3KB  |  83 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. #ifndef _SgIconG_h
  18. #define _SgIconG_h
  19.  
  20. #include <Xm/Xm.h>
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /*  Widget class and record definitions  */
  27.  
  28. externalref WidgetClass sgIconGadgetClass;
  29.  
  30. typedef struct _SgIconGadgetClassRec * SgIconGadgetClass;
  31. typedef struct _SgIconGadgetRec      * SgIconGadget;
  32. typedef struct _SgIconGCacheObjRec   * SgIconGCacheObject;
  33.  
  34. /*fast subclass define */
  35. #ifndef SgIsIconGadget
  36. #define SgIsIconGadget(w)     XtIsSubclass(w, sgIconGadgetClass)
  37. #endif /* SgIsIconGadget */
  38.  
  39.  
  40. /********    Public Function Declarations    ********/
  41.  
  42. #ifdef _NO_PROTO
  43.  
  44. extern Widget SgCreateIconGadget() ;
  45.  
  46. #else
  47.  
  48. extern Widget SgCreateIconGadget(Widget   parent,
  49.                  char    *name,
  50.                  Arg     *arglist,
  51.                  Cardinal argCount) ;
  52.  
  53. #endif /* _NO_PROTO */
  54. /********    End Public Function Declarations    ********/
  55.  
  56. #define XmICON_TOP          0
  57. #define XmICON_BOTTOM       1
  58. #define XmICON_LEFT         2
  59. #define XmICON_RIGHT        3
  60. #define XmNiconBackground  "iconBackground"
  61. #define XmNiconForeground  "iconForeground"
  62. #define XmNiconPlacement   "iconPlacement"
  63. #define XmCIconPlacement   "IconPlacement"
  64. #define XmRIconPlacement   "IconPlacement"
  65. #define XmNshowArrow       "showArrow"
  66. #define XmCShowArrow       "ShowArrow"
  67. #define XmNlabelBitmap     "labelBitmap"
  68. #define XmCLabelBitmap     "LabelBitmap"
  69. #define XmNmarginMiddle      "marginMiddle"
  70. #define XmCMarginMiddle      "MarginMiddle"
  71. #define XmCLabelInsensitiveBitmap     "LabelInsensitiveBitmap"
  72. #define XmNlabelInsensitiveBitmap     "labelInsensitiveBitmap"
  73. #define XmSHADOW_DROP      11
  74.  
  75. #ifdef __cplusplus
  76. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  77. #endif
  78.  
  79.  
  80. #endif /* _SgIconG_h */
  81. /* DON'T ADD ANYTHING AFTER THIS #endif */
  82.  
  83.