Back to home page

EIC code displayed by LXR

 
 

    


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

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 _XmessageP_h
0024 #define _XmessageP_h
0025 
0026 #include <Xm/BulletinBP.h>
0027 #include <Xm/MessageB.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 /* Constraint part record for MessageBox widget */
0034 
0035 typedef struct _XmMessageBoxConstraintPart
0036 {
0037    char unused;
0038 } XmMessageBoxConstraintPart, * XmMessageBoxConstraint;
0039 
0040 
0041 /*  New fields for the MessageBox widget class record  */
0042 
0043 typedef struct
0044 {
0045    XtPointer extension;   /* Pointer to extension record */
0046 } XmMessageBoxClassPart;
0047 
0048 
0049 /* Full class record declaration */
0050 
0051 typedef struct _XmMessageBoxClassRec
0052 {
0053    CoreClassPart             core_class;
0054    CompositeClassPart        composite_class;
0055    ConstraintClassPart       constraint_class;
0056    XmManagerClassPart        manager_class;
0057    XmBulletinBoardClassPart  bulletin_board_class;
0058    XmMessageBoxClassPart     message_box_class;
0059 } XmMessageBoxClassRec;
0060 
0061 externalref XmMessageBoxClassRec xmMessageBoxClassRec;
0062 
0063 
0064 /* New fields for the MessageBox widget record */
0065 
0066 typedef struct
0067 {
0068     unsigned char           dialog_type;
0069     unsigned char           default_type;
0070     Boolean         internal_pixmap;
0071     Boolean                 minimize_buttons;
0072 
0073     unsigned char           message_alignment;
0074     XmString                message_string;
0075     Widget                  message_wid;
0076 
0077     Pixmap                  symbol_pixmap;
0078     Widget                  symbol_wid;
0079 
0080     XmString                ok_label_string;
0081     XtCallbackList          ok_callback;
0082     Widget                  ok_button;
0083 
0084     XmString                cancel_label_string;
0085     XtCallbackList          cancel_callback;
0086 
0087     XmString                help_label_string;
0088     Widget                  help_button;
0089 
0090     Widget                  separator;
0091 
0092 } XmMessageBoxPart;
0093 
0094 
0095 /****************************************************************
0096  *
0097  * Full instance record declaration
0098  *
0099  ****************************************************************/
0100 
0101 typedef struct _XmMessageBoxRec
0102 {
0103     CorePart             core;
0104     CompositePart        composite;
0105     ConstraintPart       constraint;
0106     XmManagerPart        manager;
0107     XmBulletinBoardPart  bulletin_board; 
0108     XmMessageBoxPart     message_box;
0109 } XmMessageBoxRec;
0110 
0111 
0112 #ifdef __cplusplus
0113 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0114 #endif
0115 
0116 #endif /* _XmMessage_h */
0117 /* DON'T ADD ANYTHING AFTER THIS #endif */