From ffccd5b2b05243e7976db80f90f453dccfae9886 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:22:03 +0200 Subject: Adding upstream version 3:4.8.30. Signed-off-by: Daniel Baumann --- lib/widget/dialog-switch.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lib/widget/dialog-switch.h (limited to 'lib/widget/dialog-switch.h') diff --git a/lib/widget/dialog-switch.h b/lib/widget/dialog-switch.h new file mode 100644 index 0000000..5163095 --- /dev/null +++ b/lib/widget/dialog-switch.h @@ -0,0 +1,44 @@ + +#ifndef MC__DIALOG_SWITCH_H +#define MC__DIALOG_SWITCH_H + +#include + +/*** typedefs(not structures) and defined constants **********************************************/ + +/*** enums ***************************************************************************************/ + +/*** structures declarations (and typedefs of structures)*****************************************/ + +/*** global variables defined in .c file *********************************************************/ + +extern GList *top_dlg; + +extern gboolean fast_refresh; + +extern WDialog *filemanager; + +/*** declarations of public functions ************************************************************/ + +void dialog_switch_add (WDialog * h); +void dialog_switch_remove (WDialog * h); +size_t dialog_switch_num (void); + +void dialog_switch_next (void); +void dialog_switch_prev (void); +void dialog_switch_list (void); + +int dialog_switch_process_pending (void); +void dialog_switch_got_winch (void); +void dialog_switch_shutdown (void); + +/* Redraw all dialogs */ +void do_refresh (void); + +void repaint_screen (void); +void mc_refresh (void); +void dialog_change_screen_size (void); + +/*** inline functions ****************************************************************************/ + +#endif /* MC__DIALOG_SWITCH_H */ -- cgit v1.2.3