mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-03 14:41:34 +03:00

* dialog.h: Move all stuff unrelated to dialog.c ... * wtools.h: ... here. Adjust all users.
19 lines
547 B
C
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 */
|