Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* $XConsortium: ClipWindowP.h /main/5 1995/07/15 20:48:39 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 _XmClipWindowP_h
0028 #define _XmClipWindowP_h
0029 
0030 #include <Xm/DrawingAP.h>
0031 
0032 #ifdef __cplusplus
0033 extern "C" {
0034 #endif
0035 
0036 externalref WidgetClass xmClipWindowWidgetClass;
0037 
0038 typedef struct _XmClipWindowClassRec * XmClipWindowWidgetClass;
0039 typedef struct _XmClipWindowRec      * XmClipWindowWidget;
0040 
0041 
0042 #ifndef XmIsClipWindow
0043 #define XmIsClipWindow(w)  (XtIsSubclass (w, xmClipWindowWidgetClass))
0044 #endif
0045 
0046 
0047 /*  New fields for the ClipWindow widget class record  */
0048 
0049 typedef struct
0050 {
0051    XtPointer extension;   
0052 } XmClipWindowClassPart;
0053 
0054 
0055 /* Full class record declaration */
0056 
0057 typedef struct _XmClipWindowClassRec
0058 {
0059     CoreClassPart       core_class;
0060     CompositeClassPart  composite_class;
0061     ConstraintClassPart constraint_class;
0062     XmManagerClassPart  manager_class;
0063     XmDrawingAreaClassPart  drawing_area_class;
0064     XmClipWindowClassPart   clip_window_class;
0065 } XmClipWindowClassRec;
0066 
0067 externalref XmClipWindowClassRec xmClipWindowClassRec;
0068 
0069 
0070 /* New fields for the ClipWindow widget record */
0071 
0072 typedef struct
0073 {
0074     unsigned char flags;
0075     Dimension old_width ;
0076 } XmClipWindowPart;
0077 
0078 
0079 /****************************************************************
0080  *
0081  * Full instance record declaration
0082  *
0083  ****************************************************************/
0084 
0085 typedef struct _XmClipWindowRec
0086 {
0087     CorePart        core;
0088     CompositePart       composite;
0089     ConstraintPart      constraint;
0090     XmManagerPart       manager;
0091     XmDrawingAreaPart   drawing_area;
0092     XmClipWindowPart    clip_window;
0093 } XmClipWindowRec;
0094 
0095 
0096 /********    Private Function Declarations    ********/
0097 /********    End Private Function Declarations    ********/
0098 
0099 
0100 #ifdef __cplusplus
0101 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0102 #endif
0103 
0104 #endif /* _XmClipWindowP_h */
0105 /* DON'T ADD ANYTHING AFTER THIS #endif */