/*
 * Copyright 1990 by Baylor College of Medicine ALL RIGHTS RESERVED. 
 *
 * This program is subject to a license agreement between 
 * Baylor College of Medicine and MIT. Any use inconsistent with
 * said license and any use by persons other than the faculty, 
 * students and staff at MIT or any use on a computer not operated 
 * as part of the Athena Computing Environment (ACE) is expressly 
 * prohibited.
 */
/* @(#)VListP.h	1.4  4/10/90 */
#ifndef _VLISTP_H
#define _VLISTP_H

#include <VList.h>

typedef struct _VListConstraintRec
{
	int col ;
	int row ;
	int v_align ;
	int h_align ;
	Boolean stretch_horiz ;
	Boolean stretch_vert ;
} VListConstraintRec ;

typedef struct
{
	int dummy ;
} VListClassPart ;

typedef struct _VListClassRec
{
	CoreClassPart		core_class ;
	CompositeClassPart	composite_class ;
	ConstraintClassPart	constraint_class ;
#ifdef MOTIF
	XmManagerClassPart	manager_class ;
#endif
	VListClassPart	vList_class ;
} VListClassRec,*VListWidgetClass ;

extern VListClassRec vListClassRec ;

/*
 *  Widget instance structure declaration
 */

typedef struct
{
	int vspacing ;
	int hspacing ;
	int vpad ;
	int hpad ;
	int num_columns ;
	int num_rows ;
	int row_pivot ;
	int col_pivot ;
	Boolean allow_resize_x ;
	Boolean allow_resize_y ;
	Boolean rows_same_size ;
	Boolean cols_same_size ;
} VListPart ;

typedef struct _VListRec
{
	CorePart	core ;
	CompositePart	composite ;
	ConstraintPart	constraint ;
#ifdef MOTIF
	XmManagerPart	manager ;
#endif
	VListPart	vList ;
} VListRec ;

#endif /* _VLISTP_H */
