DialogP.h

Go to the documentation of this file.
00001 /* $XConsortium: DialogP.h,v 1.13 94/04/17 20:12:05 kit Exp $ */
00002 
00003 
00004 /***********************************************************
00005 
00006 Copyright (c) 1987, 1988  X Consortium
00007 
00008 Permission is hereby granted, free of charge, to any person obtaining a copy
00009 of this software and associated documentation files (the "Software"), to deal
00010 in the Software without restriction, including without limitation the rights
00011 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00012 copies of the Software, and to permit persons to whom the Software is
00013 furnished to do so, subject to the following conditions:
00014 
00015 The above copyright notice and this permission notice shall be included in
00016 all copies or substantial portions of the Software.
00017 
00018 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00019 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00021 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00022 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00023 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00024 
00025 Except as contained in this notice, the name of the X Consortium shall not be
00026 used in advertising or otherwise to promote the sale, use or other dealings
00027 in this Software without prior written authorization from the X Consortium.
00028 
00029 
00030 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
00031 
00032                         All Rights Reserved
00033 
00034 Permission to use, copy, modify, and distribute this software and its 
00035 documentation for any purpose and without fee is hereby granted, 
00036 provided that the above copyright notice appear in all copies and that
00037 both that copyright notice and this permission notice appear in 
00038 supporting documentation, and that the name of Digital not be
00039 used in advertising or publicity pertaining to distribution of the
00040 software without specific, written prior permission.  
00041 
00042 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
00043 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
00044 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
00045 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
00046 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
00047 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
00048 SOFTWARE.
00049 
00050 ******************************************************************/
00051 
00052 /* Private definitions for Dialog widget */
00053 
00054 #ifndef _DialogP_h
00055 #define _DialogP_h
00056 
00057 #include <X11/Xaw3d/Dialog.h>
00058 #include <X11/Xaw3d/FormP.h>
00059 
00060 typedef struct {int empty;} DialogClassPart;
00061 
00062 typedef struct _DialogClassRec {
00063     CoreClassPart       core_class;
00064     CompositeClassPart  composite_class;
00065     ConstraintClassPart constraint_class;
00066     FormClassPart       form_class;
00067     DialogClassPart     dialog_class;
00068 } DialogClassRec;
00069 
00070 extern DialogClassRec dialogClassRec;
00071 
00072 typedef struct _DialogPart {
00073     /* resources */
00074     String      label;          /* description of the dialog    */
00075     String      value;          /* for the user response        */
00076     Pixmap      icon;           /* icon bitmap                  */
00077     /* private data */
00078     Widget      iconW;          /* widget to display the icon   */
00079     Widget      labelW;         /* widget to display description*/
00080     Widget      valueW;         /* user response TextWidget     */
00081 } DialogPart;
00082 
00083 typedef struct _DialogRec {
00084     CorePart            core;
00085     CompositePart       composite;
00086     ConstraintPart      constraint;
00087     FormPart            form;
00088     DialogPart          dialog;
00089 } DialogRec;
00090 
00091 typedef struct {int empty;} DialogConstraintsPart;
00092 
00093 typedef struct _DialogConstraintsRec {
00094     FormConstraintsPart   form;
00095     DialogConstraintsPart dialog;
00096 } DialogConstraintsRec, *DialogConstraints;
00097 
00098 #endif /* _DialogP_h */

Generated on Sun Mar 4 15:03:55 2007 for Scilab [trunk] by  doxygen 1.5.1