Back to home page

EIC code displayed by LXR

 
 

    


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

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 _XmMainWindowP_h
0024 #define _XmMainWindowP_h
0025 
0026 #include <Xm/MainW.h>
0027 #include <Xm/ScrolledWP.h>
0028 #include <Xm/SeparatoG.h>
0029 
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033 
0034 
0035 #define DEFAULT_HEIGHT 20
0036 #define DEFAULT_WIDTH 20
0037   
0038 /* Constraint part record for MainWindow widget */
0039 typedef struct _XmMainWindowConstraintPart
0040 {
0041    char unused;
0042 } XmMainWindowConstraintPart, * XmMainWindowConstraint;
0043 
0044 
0045 /* New fields for the MainWindow widget class record */
0046 typedef struct {
0047    XtPointer extension;   /* Pointer to extension record */
0048 } XmMainWindowClassPart;
0049 
0050 /****************
0051  *
0052  * Class record declaration
0053  *
0054  ****************/
0055 typedef struct _XmMainWindowClassRec {
0056     CoreClassPart   core_class;
0057     CompositeClassPart  composite_class;
0058     ConstraintClassPart constraint_class;
0059     XmManagerClassPart  manager_class;
0060     XmScrolledWindowClassPart   swindow_class;
0061     XmMainWindowClassPart   mwindow_class;
0062 } XmMainWindowClassRec;
0063 
0064 externalref XmMainWindowClassRec xmMainWindowClassRec;
0065 
0066 /****************
0067  *
0068  * Main Window instance structure.
0069  *
0070  ****************/
0071 typedef struct {
0072 
0073 
0074    Dimension    AreaWidth,AreaHeight;
0075    Dimension    margin_width,margin_height;
0076    Widget       CommandWindow;
0077    Widget       MenuBar;
0078    Widget       Message;
0079    unsigned char CommandLoc;
0080    XmSeparatorGadget       Sep1,Sep2,Sep3;
0081    Boolean  ManagingSep;
0082    Boolean  ShowSep;
0083    
0084 } XmMainWindowPart;
0085 
0086 
0087 /************************************************************************
0088  *                                  *
0089  * Full instance record declaration                 *
0090  *                                  *
0091  ************************************************************************/
0092 
0093 typedef struct _XmMainWindowRec {
0094     CorePart        core;
0095     CompositePart   composite;
0096     ConstraintPart constraint;
0097     XmManagerPart   manager;
0098     XmScrolledWindowPart   swindow;
0099     XmMainWindowPart   mwindow;
0100 } XmMainWindowRec;
0101 
0102 
0103 /********    Private Function Declarations    ********/
0104 
0105 
0106 /********    End Private Function Declarations    ********/
0107 
0108 
0109 #ifdef __cplusplus
0110 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0111 #endif
0112 
0113 #endif /* _XmMainWindowP_h */
0114 /* DON'T ADD STUFF AFTER THIS #endif */