File: alert.h

package info (click to toggle)
xcopilot 1%3A0.6.6
  • links: PTS
  • area: contrib
  • in suites: potato, slink
  • size: 3,252 kB
  • ctags: 3,406
  • sloc: ansic: 37,932; cpp: 1,918; sh: 329; makefile: 68
file content (36 lines) | stat: -rw-r--r-- 1,243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*****************************************************************************

    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/alert.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_alert {
  Window window;
  mx_appearance *app;		/* the appearance structure */
  int width, height;		/* dimension of each panel (pixels) */
  int inside;			/* flag indicating focus */
  int momentary;
  int start_item;
  int max_items;		/* number of items in alert */
  mx_menu_item *item;		/* pointer to array of items */
} mx_alert;

extern int mx_popup_alert(Display *display, int screen, mx_panel *main_panel,
			  mx_panel *resp_panel,
			  int *x, int *y);

extern int mx_alert_event(Display *display, int screen, XEvent *event,
			  mx_alert *alert, int *done, int *x, int *y);