Back to home page

EIC code displayed by LXR

 
 

    


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

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 _XmFrameP_h
0024 #define _XmFrameP_h
0025 
0026 #include <Xm/Frame.h>
0027 #include <Xm/ManagerP.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 
0034 
0035 /* Full class records */
0036 
0037 typedef struct
0038 {
0039    XtPointer extension;
0040 } XmFrameClassPart;
0041 
0042 typedef struct _XmFrameClassRec
0043 {
0044    CoreClassPart       core_class;
0045    CompositeClassPart  composite_class;
0046    ConstraintClassPart constraint_class;
0047    XmManagerClassPart  manager_class;
0048    XmFrameClassPart    frame_class;
0049 } XmFrameClassRec;
0050 
0051 externalref XmFrameClassRec xmFrameClassRec;
0052 
0053 
0054 /*  Frame instance records  */
0055 
0056 typedef struct
0057 {
0058    Dimension margin_width;
0059    Dimension margin_height;
0060    unsigned char shadow_type;
0061    Dimension old_width;
0062    Dimension old_height;
0063    Dimension old_shadow_thickness;
0064    Position old_shadow_x;
0065    Position old_shadow_y;
0066    Widget work_area;
0067    Widget title_area;
0068    Boolean processing_constraints;
0069 } XmFramePart;
0070 
0071 typedef struct _XmFrameRec
0072 {
0073     CorePart       core;
0074     CompositePart  composite;
0075     ConstraintPart constraint;
0076     XmManagerPart  manager;
0077     XmFramePart    frame;
0078 } XmFrameRec;
0079 
0080 
0081 /*  Frame constraint records  */
0082 
0083 typedef struct _XmFrameConstraintPart
0084 {
0085    /* "unused" is actually being used in the CheckSetChildType defaultproc ! */
0086    int unused;
0087    unsigned char child_type;
0088    unsigned char child_h_alignment;
0089    Dimension child_h_spacing;
0090    unsigned char child_v_alignment;
0091 } XmFrameConstraintPart, * XmFrameConstraint;
0092 
0093 typedef struct _XmFrameConstraintRec
0094 {
0095    XmManagerConstraintPart manager;
0096    XmFrameConstraintPart   frame;
0097 } XmFrameConstraintRec, * XmFrameConstraintPtr;
0098 
0099 
0100 /********    Private Function Declarations    ********/
0101 
0102 
0103 /********    End Private Function Declarations    ********/
0104 
0105 
0106 #ifdef __cplusplus
0107 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0108 #endif
0109 
0110 #endif /* _XmFrameP_h */
0111 /* DON'T ADD ANYTHING AFTER THIS #endif */