
/* setextent.c
 *
 * Wimp function library
 *  Joseph Heenan, 1998.
 *
 *
 *
 *
 * $Log: setextent,v $
 * Revision 1.1  1998/05/17 15:39:15  joseph
 * Added setextent and menuupdate
 *
 *
 */

#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

#include "swis.h"
#include "wimplib.h"

#include "wimpclib.h"

void wimpc_setextent( int han, int x, int y )
{
  BBox a;

  a.xmin =  0;
  a.ymax =  0;
  a.xmax =  x;
  a.ymin = -y;

  E_CHECK( wimp_set_extent(han, &a) );
}
