749N/A/*
749N/A * $XConsortium: Tree.h,v 1.13 94/04/17 20:13:22 kaleb Exp $
749N/A *
749N/A
749N/ACopyright (c) 1990, 1994 X Consortium
749N/A
749N/APermission is hereby granted, free of charge, to any person obtaining a copy
749N/Aof this software and associated documentation files (the "Software"), to deal
749N/Ain the Software without restriction, including without limitation the rights
749N/Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell
749N/Acopies of the Software, and to permit persons to whom the Software is
749N/Afurnished to do so, subject to the following conditions:
749N/A
749N/AThe above copyright notice and this permission notice shall be included in
749N/Aall copies or substantial portions of the Software.
749N/A
749N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
749N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
749N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
749N/AX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
749N/AAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
749N/ACONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
749N/A
749N/AExcept as contained in this notice, the name of the X Consortium shall not be
749N/Aused in advertising or otherwise to promote the sale, use or other dealings
749N/Ain this Software without prior written authorization from the X Consortium.
749N/A
749N/A * Copyright 1989 Prentice Hall
749N/A *
749N/A * Permission to use, copy, modify, and distribute this software for any
749N/A * purpose and without fee is hereby granted, provided that the above
749N/A * copyright notice appear in all copies and that both the copyright notice
749N/A * and this permission notice appear in supporting documentation.
749N/A *
749N/A * Prentice Hall and the authors disclaim all warranties with regard
749N/A * to this software, including all implied warranties of merchantability and
749N/A * fitness. In no event shall Prentice Hall or the authors be liable
749N/A * for any special, indirect or cosequential damages or any damages whatsoever
749N/A * resulting from loss of use, data or profits, whether in an action of
749N/A * contract, negligence or other tortious action, arising out of or in
749N/A * connection with the use or performance of this software.
749N/A *
749N/A * Authors: Jim Fulton, MIT X Consortium,
749N/A * based on a version by Douglas Young, Prentice Hall
749N/A *
749N/A * This widget is based on the Tree widget described on pages 397-419 of
749N/A * Douglas Young's book "The X Window System, Programming and Applications
749N/A * with Xt OSF/Motif Edition." The layout code has been rewritten to use
749N/A * additional blank space to make the structure of the graph easier to see
749N/A * as well as to support vertical trees.
749N/A */
749N/A
749N/A
749N/A#ifndef _XawTree_h
749N/A#define _XawTree_h
749N/A
749N/A#include <X11/Xmu/Converters.h>
749N/A
749N/A/******************************************************************************
749N/A *
749N/A * Tree Widget (subclass of ConstraintClass)
749N/A *
749N/A ******************************************************************************
749N/A *
749N/A * Parameters:
749N/A *
749N/A * Name Class Type Default
749N/A * ---- ----- ---- -------
749N/A *
749N/A * autoReconfigure AutoReconfigure Boolean FALSE
749N/A * background Background Pixel XtDefaultBackground
749N/A * foreground Foreground Pixel XtDefaultForeground
749N/A * gravity Gravity XtGravity West
749N/A * hSpace HSpace Dimension 20
749N/A * lineWidth LineWidth Dimension 0
749N/A * vSpace VSpace Dimension 6
749N/A *
749N/A *
749N/A * Constraint Resources attached to children:
749N/A *
749N/A * treeGC TreeGC GC NULL
749N/A * treeParent TreeParent Widget NULL
749N/A *
749N/A *
749N/A *****************************************************************************/
749N/A
749N/A /* new instance field names */
749N/A#ifndef _XtStringDefs_h_
749N/A#define XtNhSpace "hSpace"
749N/A#define XtNvSpace "vSpace"
749N/A#define XtCHSpace "HSpace"
749N/A#define XtCVSpace "VSpace"
749N/A#endif
749N/A
749N/A#define XtNautoReconfigure "autoReconfigure"
749N/A#define XtNlineWidth "lineWidth"
749N/A#define XtNtreeGC "treeGC"
749N/A#define XtNtreeParent "treeParent"
749N/A#define XtNgravity "gravity"
749N/A
749N/A /* new class field names */
749N/A#define XtCAutoReconfigure "AutoReconfigure"
749N/A#define XtCLineWidth "LineWidth"
749N/A#define XtCTreeGC "TreeGC"
749N/A#define XtCTreeParent "TreeParent"
749N/A#define XtCGravity "Gravity"
749N/A
749N/A#define XtRGC "GC"
749N/A /* external declarations */
749N/Aextern WidgetClass treeWidgetClass;
749N/A
749N/Atypedef struct _TreeClassRec *TreeWidgetClass;
749N/Atypedef struct _TreeRec *TreeWidget;
749N/A
749N/A_XFUNCPROTOBEGIN
749N/A
749N/Aextern void XawTreeForceLayout (
749N/A#if NeedFunctionPrototypes
749N/A Widget /* tree */
749N/A#endif
749N/A);
749N/A
749N/A_XFUNCPROTOEND
749N/A
749N/A#endif /* _XawTree_h */