/*
    (C) 1997 AROS - The Amiga Replacement OS
    $Id: windowlimits.c,v 1.1 1997/07/09 16:45:43 srittau Exp $

    Desc: Set the minimum and maximum size of a window.
    Lang: english
*/
#include "intuition_intern.h"

void aros_print_not_implemented (char * name);

/*****************************************************************************

    NAME */
#include <exec/types.h>
#include <intuition/intuition.h>
#include <proto/intuition.h>

	AROS_LH5(BOOL, WindowLimits,

/*  SYNOPSIS */
	AROS_LHA(struct Window *, Window, A0),
	AROS_LHA(WORD,            MinWidth, D0),
	AROS_LHA(WORD,            MinHeight, D1),
	AROS_LHA(UWORD,           MaxWidth, D2),
	AROS_LHA(UWORD,           MaxHeight, D3),

/*  LOCATION */
	struct IntuitionBase *, IntuitionBase, 53, Intuition)

/*  FUNCTION
	This functions sets the minimum and maximum sizes of a window.

    INPUTS
	Window - window to change
	MinWidth, MinHeight - the minimum size, may be 0 for no change
	MaxWidth, MaxHeight - the maximum size, may be 0 for no change,
	    may be -1 for no maximum size

    RESULT
	A boolean. FALSE is returned if any of the provided sizes is out
	of range. Note that the other sizes take effect, though. TRUE if
	all sizes could be set.

    NOTES

    EXAMPLE

    BUGS

    SEE ALSO
	OpenWindow()

    INTERNALS

    HISTORY

*****************************************************************************/
{
    AROS_LIBFUNC_INIT
    AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)

    aros_print_not_implemented("WindowLimits");

    return FALSE;
    AROS_LIBFUNC_EXIT
} /* WindowLimits */
