Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:25

0001 /* $XConsortium: GrabShellP.h /main/5 1995/07/15 20:51:26 drk $ */
0002 /*
0003  * Motif
0004  *
0005  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0006  *
0007  * These libraries and programs are free software; you can
0008  * redistribute them and/or modify them under the terms of the GNU
0009  * Lesser General Public License as published by the Free Software
0010  * Foundation; either version 2 of the License, or (at your option)
0011  * any later version.
0012  *
0013  * These libraries and programs are distributed in the hope that
0014  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0015  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0016  * PURPOSE. See the GNU Lesser General Public License for more
0017  * details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with these librararies and programs; if not, write
0021  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0022  * Floor, Boston, MA 02110-1301 USA
0023  */
0024 /*
0025  * HISTORY
0026  */
0027 #ifndef _XmGrabShellP_h
0028 #define _XmGrabShellP_h
0029 
0030 #include <Xm/GrabShell.h>
0031 #include <Xm/XmP.h>
0032 #include <X11/ShellP.h>
0033 
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037 
0038 /* The GrabShell instance record */
0039 
0040 typedef struct 
0041 {
0042   Cursor    cursor;
0043   Dimension shadow_thickness;
0044   Pixel     top_shadow_color;
0045   Pixmap    top_shadow_pixmap;
0046   Pixel     bottom_shadow_color;
0047   Pixmap    bottom_shadow_pixmap;
0048   GC        top_shadow_GC;
0049   GC        bottom_shadow_GC;
0050   Boolean   owner_events;
0051   int       grab_style;
0052   /* Internal fields */
0053   Time      post_time;
0054   Time      unpost_time;
0055   Boolean   mapped;
0056   Window    old_focus;
0057   int       old_revert_to;
0058 } XmGrabShellPart;
0059 
0060 
0061 /* Full instance record declaration */
0062 
0063 typedef  struct _XmGrabShellRec 
0064 {
0065   CorePart      core;
0066   CompositePart     composite;
0067   ShellPart     shell;
0068   WMShellPart       wm_shell;
0069   VendorShellPart   vendor_shell;
0070   XmGrabShellPart   grab_shell;
0071 } XmGrabShellRec;
0072 
0073 typedef  struct _XmGrabShellWidgetRec /* OBSOLETE (for compatibility only).*/
0074 {
0075   CorePart      core;
0076   CompositePart     composite;
0077   ShellPart     shell;
0078   WMShellPart       wm_shell;
0079   VendorShellPart   vendor_shell;
0080   XmGrabShellPart   grab_shell;
0081 } XmGrabShellWidgetRec;
0082 
0083 
0084 
0085 /* GrabShell class structure */
0086 
0087 typedef struct 
0088 {
0089   XtPointer     extension;   /* Pointer to extension record */
0090 } XmGrabShellClassPart;
0091 
0092 
0093 /* Full class record declaration */
0094 
0095 typedef struct _XmGrabShellClassRec 
0096 {
0097   CoreClassPart         core_class;
0098   CompositeClassPart    composite_class;
0099   ShellClassPart    shell_class;
0100   WMShellClassPart  wm_shell_class;
0101   VendorShellClassPart  vendor_shell_class;
0102   XmGrabShellClassPart  grab_shell_class;
0103 } XmGrabShellClassRec;
0104 
0105 
0106 externalref XmGrabShellClassRec  xmGrabShellClassRec;
0107 
0108 /********    Private Function Declarations    ********/
0109 
0110 /********    End Private Function Declarations    ********/
0111 
0112 
0113 #ifdef __cplusplus
0114 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0115 #endif
0116 
0117 #endif /* _XmGrabShellP_h */
0118 /* DON'T ADD STUFF AFTER THIS #endif */