/*****************************************************************************

    Copyright (C) 1994,1997 Ivan A. Curtis.  All rights reserved.

This code must not be re-distributed without these copyright notices intact.

*******************************************************************************
*******************************************************************************

Filename:	~icurtis/src/mx/request.h

Description:	

Update History:   (most recent first)
   I. Curtis   9-Apr-97 12:02 -- Updated
   I. Curtis  22-Mar-94 23:11 -- Created.

******************************************************************************/

typedef struct _mx_request {
  Window window;
  mx_appearance *app;		/* the appearance structure */
  int width, height;		/* dimension of request window (pixels) */
  int inside;			/* flag indicating focus */
  int cur_x, cur_y;		/* cursor position in window */
  int cur_w, cur_h;		/* cursor size */
  int cp;			/* cusor position in text */
  char *text;			/* request string */
  int length;			/* length of request string */
  int max_len;			/* maximum length of request string */
} mx_request;

extern int mx_popup_request(Display *display, int screen, mx_panel *panel,
			    int *x, int *y, char *text, int max_len);
