6 #define MSG_ERROR ((char *) -1)
7 Dlg_head
*message (int error
, char *header
, char *text
, ...);
9 int query_dialog (char *header
, char *text
, int flags
, int count
, ...);
15 } /* dialog options */;
17 /* The refresh stack */
18 typedef struct Refresh
{
19 void (*refresh_fn
)(void *);
25 /* We search under the stack until we find a refresh function that covers */
26 /* the complete screen, and from this point we go up refreshing the */
27 /* individual regions */
30 REFRESH_COVERS_PART
, /* If the refresh fn convers only a part */
31 REFRESH_COVERS_ALL
/* If the refresh fn convers all the screen */
34 void push_refresh (void (*new_refresh
)(void *), void *data
, int flags
);
35 void pop_refresh (void);
36 void do_refresh (void);
37 void my_wputs (int y
, int x
, char *text
);
38 char *input_dialog (char *header
, char *text
, char *def_text
);
39 char *input_expand_dialog (char *header
, char *text
, char *def_text
);
41 extern Refresh
*refresh_list
;
43 #endif /* __DIALOG_H */