/*
 *	sccsid:	@(#)Scroll.h	1.9	5/26/87
 */

/*
 * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
 * 
 *                         All Rights Reserved
 * 
 * Permission to use, copy, modify, and distribute this software and its 
 * documentation for any purpose and without fee is hereby granted, 
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in 
 * supporting documentation, and that the name of Digital Equipment
 * Corporation not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior permission.  
 * 
 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 */

#ifndef _Scroll_h
#define _Scroll_h

/****************************************************************
 *
 * Scrollbar Widget
 *
 ****************************************************************/

/* For XtScrollBarCreate */
#define XtNbackground		"background"
#define XtNborder		"border"
#define XtNborderWidth		"borderWidth"
#define XtNforeground		"foreground"
#define XtNheight		"height"
#define XtNname			"name"
#define XtNorientation		"orientation"
#define XtNscrollUpDownProc	"scrollUpDownProc"
#define XtNshown		"shown"
#define XtNthumbProc		"thumbProc"
#define XtNtop			"top"
#define XtNvalue		"value"
#define XtNwidth		"width"
#define XtNwindow		"window"
#define XtNx			"x"
#define XtNy			"y"

/* For XtScrollMgrCreate */
#define XtNborder		"border"
#define XtNborderWidth		"borderWidth"
#define XtNchildWindow		"childWindow"
#define XtNheight		"height"
#define XtNname			"name"
#define XtNthickness		"thickness"
#define XtNwidth		"width"
#define XtNwindow		"window"
#define XtNx			"x"
#define XtNy			"y"

/* For XtScrollMgrAddBar */
#define XtNlowerRight		"lowerRight"
#define XtNorientation		"orientation"

/* For XtScrolledWindowCreate */
#define XtNforceBars		"forceBars"
#define XtNuseBottom		"useBottom"
#define XtNuseRight		"useRight"
#define XtNallowHoriz		"allowHoriz"
#define XtNallowVert		"allowVert"
#define XtNinnerHeight		"innerHeight"
#define XtNinnerWidth		"innerWidth"
#define XtNinnerWindow		"innerWindow"
#define XtNname			"name"

#ifndef _XtOrientation_e
#define _XtOrientation_e
typedef enum {XtorientHorizontal, XtorientVertical} XtOrientation;
#endif _XtOrientation_e

extern Window XtScrollBarCreate(); /* parent, args, argCount */
    /* Window   parent;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern void XtScrollBarSetValues(); /* w, args, argCount */
    /* Window w; */
    /* ArgList  args;    */
    /* int      argCount;   */

extern void XtScrollBarGetValues(); /* w, args, argCount */
    /* Window w; */
    /* ArgList  args;    */
    /* int      argCount;   */

extern void XtScrollBarDestroy(); /* scrollbarWindow */
/* Window scrollbarWindow; */

extern void XtScrollBarSetThumb(); /* scrollbarWindow, top, shown */
/* Window scrollbarWindow; */
/* float top, shown; */

extern Window XtScrollMgrCreate(); /* parent, args, argCount */
    /* Window   parent;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern Window XtScrollMgrGetChild(); /* parent */
    /* Window   parent;     */

extern Window XtScrollMgrSetChild(); /* parent, frame */
/* Window parent, frame; */

extern int XtScrollMgrDestroy(); /* w */
    /* Window w; */

extern XtScrollMgrSetThickness(); /* w, thickness */
    /* Window w; */
    /* Int thickness; */

extern int XtScrollMgrGetThickness(); /* w */
    /* Window w; */

extern Window XtScrollMgrAddBar(); /* parent, args, argCount */
    /* Window   parent;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern int XtScrollMgrDeleteBar(); /* parent, scrollbar */
    /* Window parent, scrollbar; */

extern Window XtScrolledWindowCreate(); /* parent, args, argCount */
    /* Window   parent;     */
    /* ArgList  args;    */
    /* int      argCount;   */

extern Window XtScrolledWindowSetChild(); /* parent, child */
    /* Window parent, child; */

extern Window XtScrolledWindowGetFrame(); /* parent */
    /* Window parent; */

extern Window XtScrolledWindowDelete(); /* parent */
    /*  Window parent; */


#endif _Scroll_h
/* DON'T ADD STUFF AFTER THIS #endif */
