222N/A/* $XConsortium: DialogP.h,v 1.12 89/08/25 18:35:37 kit Exp $ */
222N/A
222N/A
222N/A/***********************************************************
1406N/ACopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
222N/Aand the Massachusetts Institute of Technology, Cambridge, Massachusetts.
222N/A
919N/A All Rights Reserved
919N/A
919N/APermission to use, copy, modify, and distribute this software and its
919N/Adocumentation for any purpose and without fee is hereby granted,
919N/Aprovided that the above copyright notice appear in all copies and that
919N/Aboth that copyright notice and this permission notice appear in
919N/Asupporting documentation, and that the names of Digital or MIT not be
919N/Aused in advertising or publicity pertaining to distribution of the
919N/Asoftware without specific, written prior permission.
919N/A
919N/ADIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
919N/AALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
919N/ADIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
919N/AANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
919N/AWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
919N/AARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
919N/ASOFTWARE.
222N/A
222N/A******************************************************************/
222N/A
493N/A/* Private definitions for Dialog widget */
493N/A
222N/A#ifndef _DialogP_h
970N/A#define _DialogP_h
970N/A
970N/A#include <./Xaw3_1Dialog.h>
970N/A#include <./Xaw3_1FormP.h>
970N/A
970N/Atypedef struct {int empty;} DialogClassPart;
970N/A
1339N/Atypedef struct _DialogClassRec {
1406N/A CoreClassPart core_class;
970N/A CompositeClassPart composite_class;
222N/A ConstraintClassPart constraint_class;
1164N/A FormClassPart form_class;
222N/A DialogClassPart dialog_class;
911N/A} DialogClassRec;
1164N/A
1164N/Aextern DialogClassRec dialogClassRec;
911N/A
222N/Atypedef struct _DialogPart {
1042N/A /* resources */
222N/A String label; /* description of the dialog */
222N/A String value; /* for the user response */
222N/A Pixmap icon; /* icon bitmap */
222N/A /* private data */
222N/A Widget iconW; /* widget to display the icon */
493N/A Widget labelW; /* widget to display description*/
837N/A Widget valueW; /* user response TextWidget */
222N/A} DialogPart;
222N/A
837N/Atypedef struct _DialogRec {
837N/A CorePart core;
365N/A CompositePart composite;
222N/A ConstraintPart constraint;
355N/A FormPart form;
355N/A DialogPart dialog;
355N/A} DialogRec;
355N/A
837N/Atypedef struct {int empty;} DialogConstraintsPart;
837N/A
837N/Atypedef struct _DialogConstraintsRec {
837N/A FormConstraintsPart form;
837N/A DialogConstraintsPart dialog;
935N/A} DialogConstraintsRec, *DialogConstraints;
935N/A
935N/A#endif /* _DialogP_h */
222N/A