/*======================================================================*/
/* Xe Widget set							*/
/*									*/
/* XeScrolledWindow							*/
/* Public header file							*/
/*									*/
/* AUTHOR:	Gabor Nagy						*/
/* DATE:	1996-Jun-09 21:08:48					*/
/*									*/
/* Xe Widget set Copyright (C) 1995 by Gabor Nagy. All rights reserved.	*/
/*======================================================================*/
#ifndef _XeScrolledWindowWidget_h
#define _XeScrolledWindowWidget_h

#include <Xe/ScrollBar.h>

#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
extern "C" {
#endif


enum { XeAUTOMATIC, XeAPPLICATION_DEFINED };

enum{ /* XeSTATIC */ XeAS_NEEDED = 1 };

#define SW_TOP		1
#define SW_BOTTOM	0
#define SW_LEFT		2
#define SW_RIGHT	0

#define XeTOP_LEFT	(SW_TOP | SW_LEFT)
#define XeBOTTOM_LEFT	(SW_BOTTOM  | SW_LEFT)
#define XeTOP_RIGHT	(SW_TOP | SW_RIGHT)
#define XeBOTTOM_RIGHT	(SW_BOTTOM  | SW_RIGHT)


extern WidgetClass xeScrolledWindowWidgetClass;
typedef struct _XeScrolledWindowClassRec*	XeScrolledWindowWidgetClass;
typedef struct _XeScrolledWindowRec*		XeScrolledWindowWidget;


extern void	XeScrolledWindowSetAreas(Widget LWidget, Widget LHScrollbar, Widget LVScrollbar, Widget LWorkWindow);
extern Widget	XeCreateScrolledWindow(Widget LParentW, char* LName, Arg* LArglist, Cardinal LArgCount);


#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
}	// Close scope of 'extern "C"' declaration which encloses file.
#endif

#endif // _XeScrolledWindowWidget_h
