1998-02-27 07:54:42 +03:00
|
|
|
#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 */
|
|
|
|
};
|
|
|
|
|
2002-11-14 09:41:04 +03:00
|
|
|
typedef void (*refresh_fn) (void *);
|
|
|
|
void push_refresh (refresh_fn new_refresh, void *parameter, int flags);
|
1998-02-27 07:54:42 +03:00
|
|
|
void pop_refresh (void);
|
|
|
|
void do_refresh (void);
|
|
|
|
|
|
|
|
#endif /* __DIALOG_H */
|