Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 #ifndef _XmDrawingAreaP_h
0024 #define _XmDrawingAreaP_h
0025 
0026 #include <Xm/ManagerP.h>
0027 #include <Xm/DrawingA.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 #define XmRESIZE_SWINDOW    10
0034 
0035 
0036 /* Constraint part record for DrawingArea widget */
0037 
0038 typedef struct _XmDrawingAreaConstraintPart
0039 {
0040    char unused;
0041 } XmDrawingAreaConstraintPart, * XmDrawingAreaConstraint;
0042 
0043 /*  New fields for the DrawingArea widget class record  */
0044 
0045 typedef struct
0046 {
0047    XtPointer extension;   /* Pointer to extension record */
0048 } XmDrawingAreaClassPart;
0049 
0050 
0051 /* Full class record declaration */
0052 
0053 typedef struct _XmDrawingAreaClassRec
0054 {
0055   CoreClassPart     core_class;
0056   CompositeClassPart    composite_class;
0057   ConstraintClassPart   constraint_class;
0058   XmManagerClassPart    manager_class;
0059   XmDrawingAreaClassPart    drawing_area_class;
0060 } XmDrawingAreaClassRec;
0061 
0062 externalref XmDrawingAreaClassRec xmDrawingAreaClassRec;
0063 
0064 
0065 /* New fields for the DrawingArea widget record */
0066 
0067 typedef struct
0068 {
0069   Dimension     margin_width;
0070   Dimension     margin_height;
0071 
0072   XtCallbackList    resize_callback;
0073   XtCallbackList    expose_callback;
0074   XtCallbackList    input_callback;
0075 
0076   unsigned char     resize_policy;
0077   
0078 #ifndef XM_PART_BC
0079   XtCallbackList    convert_callback;
0080   XtCallbackList    destination_callback;
0081 #endif
0082 } XmDrawingAreaPart;
0083 
0084 
0085 /****************************************************************
0086  *
0087  * Full instance record declaration
0088  *
0089  ****************************************************************/
0090 
0091 typedef struct _XmDrawingAreaRec
0092 {
0093   CorePart      core;
0094   CompositePart     composite;
0095   ConstraintPart    constraint;
0096   XmManagerPart     manager;
0097   XmDrawingAreaPart drawing_area;
0098 } XmDrawingAreaRec;
0099 
0100 
0101 #ifdef __cplusplus
0102 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0103 #endif
0104 
0105 #endif /* _XmDrawingAreaP_h */
0106 /* DON'T ADD ANYTHING AFTER THIS #endif */