mc/src/dialog.h
Pavel Roskin 5aeb6c2422 * dialog.c (struct Refresh): Make opaque.
* dialog.h: Move all stuff unrelated to dialog.c ...
* wtools.h: ... here.  Adjust all users.
2002-11-14 07:25:18 +00:00

19 lines
547 B
C

#ifndef __DIALOG_H
#define __DIALOG_H
/* We search under the stack until we find a refresh function that covers */
/* the complete screen, and from this point we go up refreshing the */
/* individual regions */
enum {
REFRESH_COVERS_PART, /* If the refresh fn convers only a part */
REFRESH_COVERS_ALL /* If the refresh fn convers all the screen */
};
typedef void (*refresh_fn) (void *);
void push_refresh (refresh_fn new_refresh, void *parameter, int flags);
void pop_refresh (void);
void do_refresh (void);
#endif /* __DIALOG_H */