[9080] | 1 | /* |
---|
| 2 | * Copyright 1995 by Paul Mattes. |
---|
| 3 | * Permission to use, copy, modify, and distribute this software and its |
---|
| 4 | * documentation for any purpose and without fee is hereby granted, |
---|
| 5 | * provided that the above copyright notice appear in all copies and that |
---|
| 6 | * both that copyright notice and this permission notice appear in |
---|
| 7 | * supporting documentation. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | /* |
---|
| 11 | * popupsc.h |
---|
| 12 | * Global declarations for popups.c. |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | /* window placement enumeration */ |
---|
| 16 | enum placement { Center, Bottom, Left, Right }; |
---|
| 17 | extern enum kp_placement { |
---|
| 18 | kp_right, kp_left, kp_bottom, kp_integral |
---|
| 19 | } kp_placement; |
---|
| 20 | extern enum placement *CenterP; |
---|
| 21 | extern enum placement *BottomP; |
---|
| 22 | extern enum placement *LeftP; |
---|
| 23 | extern enum placement *RightP; |
---|
| 24 | |
---|
| 25 | extern void confirm_action(); |
---|
| 26 | extern Widget create_form_popup(); |
---|
| 27 | extern void error_popup_init(); |
---|
| 28 | extern void Info_action(); |
---|
| 29 | extern void info_popup_init(); |
---|
| 30 | extern void place_popup(); |
---|
| 31 | #if defined(__STDC__) |
---|
| 32 | extern void popup_an_info(char *fmt, ...); |
---|
| 33 | extern void popup_an_errno(int err, char *fmt, ...); |
---|
| 34 | extern void popup_an_error(char *fmt, ...); |
---|
| 35 | #else |
---|
| 36 | extern void popup_an_info(); |
---|
| 37 | extern void popup_an_errno(); |
---|
| 38 | extern void popup_an_error(); |
---|
| 39 | #endif |
---|
| 40 | extern void popup_popup(); |
---|
| 41 | extern void toplevel_geometry(); |
---|