home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / VendorSEP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  3.7 KB  |  140 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2.2
  7. */ 
  8. /*   $RCSfile: VendorSEP.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:54:58 $ */
  9. /*
  10. *  (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. /*
  14. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  15. /*
  16. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  17. /*
  18.  *  Modification History:
  19.  *  S000, 17-Mar-94, garyh
  20.  *      added font and color protocol resources
  21.  *
  22.  */
  23.  
  24. #ifndef  _XmVendorSEP_h
  25. #define _XmVendorSEP_h
  26.  
  27. #include <Xm/ShellEP.h>
  28. #include <Xm/MwmUtil.h>
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34.  
  35. #ifndef XmIsVendorShellExt
  36. #define XmIsVendorShellExt(w)    XtIsSubclass(w, xmVendorShellExtObjectClass)
  37. #endif /* XmIsVendorShellExt */
  38.  
  39. typedef struct _XmVendorShellExtRec *XmVendorShellExtObject;
  40. typedef struct _XmVendorShellExtClassRec *XmVendorShellExtObjectClass;
  41. externalref WidgetClass xmVendorShellExtObjectClass;
  42.  
  43.  
  44. #define XmInheritProtocolHandler    ((XtCallbackProc)_XtInherit)
  45.  
  46. typedef struct _XmVendorShellExtClassPart{
  47.     XtCallbackProc    delete_window_handler;
  48.     XtCallbackProc    offset_handler;
  49.     XtPointer        extension;
  50. }XmVendorShellExtClassPart, *XmVendorShellExtClassPartPtr;
  51.  
  52. typedef struct _XmVendorShellExtClassRec{
  53.     ObjectClassPart        object_class;
  54.     XmExtClassPart        ext_class;
  55.     XmDesktopClassPart         desktop_class;
  56.     XmShellExtClassPart        shell_class;
  57.     XmVendorShellExtClassPart     vendor_class;
  58. }XmVendorShellExtClassRec;
  59.  
  60. typedef struct {
  61.  XmFontList        default_font_list;
  62.  unsigned char        focus_policy;
  63.  XmFocusData        focus_data;
  64.  unsigned char        delete_response;
  65.  unsigned char        unit_type;
  66.  MwmHints        mwm_hints;
  67.  MwmInfo        mwm_info;
  68.  String            mwm_menu;
  69.  XtCallbackList        focus_moved_callback;
  70. #ifndef NO_IXI_SCOFONT_ADD
  71.  Boolean                enable_font_protocol;   /* S000 */
  72. #endif
  73. #ifndef NO_IXI_SCOCOLOR_ADD
  74.  Boolean                enable_color_protocol;  /* S000 */
  75. #endif
  76.  /*
  77.   * internal fields
  78.   */
  79.  Widget            old_managed;
  80.  Position        xAtMap, yAtMap, xOffset, yOffset;
  81.  unsigned long        lastOffsetSerial;
  82.  unsigned long        lastMapRequest;
  83.  Boolean        externalReposition;
  84.  unsigned char        mapStyle;
  85.  XtCallbackList        realize_callback;
  86.  XtGrabKind        grab_kind;
  87.  Boolean        audible_warning;
  88.  XmFontList             button_font_list;
  89.  XmFontList             label_font_list;
  90.  XmFontList             text_font_list;
  91.  String            input_method_string;
  92.  String            preedit_type_string;
  93.  unsigned int           light_threshold;
  94.  unsigned int           dark_threshold;
  95.  unsigned int           foreground_threshold;
  96.  unsigned int        im_height;
  97.  XtPointer        im_info;
  98.  Boolean        im_vs_height_set;
  99. } XmVendorShellExtPart, *XmVendorShellExtPartPtr;
  100.  
  101. externalref XmVendorShellExtClassRec     xmVendorShellExtClassRec;
  102.  
  103. typedef struct _XmVendorShellExtRec{
  104.     ObjectPart            object;
  105.     XmExtPart            ext;
  106.     XmDesktopPart        desktop;
  107.     XmShellExtPart        shell;
  108.     XmVendorShellExtPart     vendor;
  109. }XmVendorShellExtRec;
  110.  
  111. #ifdef WINTIF
  112. /*
  113.  * Here for both ResConvert and VendorS.c
  114.  */
  115. #define WXmRLookFeel "LookFeel"
  116. #endif
  117. #define XmRIxiAdds "IxiAdds"
  118. /********    Private Function Declarations    ********/
  119. #ifdef _NO_PROTO
  120.  
  121. extern unsigned char _XmGetAudibleWarning() ;
  122. extern char * _XmGetIconPixmapName() ;
  123. extern void   _XmClearIconPixmapName() ;
  124. #else
  125.  
  126. extern unsigned char _XmGetAudibleWarning( 
  127.                         Widget w) ;
  128. extern char * _XmGetIconPixmapName( void ) ;
  129. extern void   _XmClearIconPixmapName( void ) ;
  130.  
  131. #endif /* _NO_PROTO */
  132. /********    End Private Function Declarations    ********/
  133.  
  134.  
  135. #ifdef __cplusplus
  136. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  137. #endif
  138.  
  139. #endif  /* _XmVendorSEP_h */
  140.