2010-04-18 14:58:18 +04:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
#ifndef MC__DIALOG_SWITCH_H
|
|
|
|
#define MC__DIALOG_SWITCH_H
|
2010-04-18 14:58:18 +04:00
|
|
|
|
2010-06-18 14:35:27 +04:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
2023-04-23 13:22:05 +03:00
|
|
|
extern GList *top_dlg;
|
|
|
|
|
|
|
|
extern gboolean fast_refresh;
|
|
|
|
|
2020-10-31 20:04:50 +03:00
|
|
|
extern WDialog *filemanager;
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
2016-03-03 22:51:40 +03:00
|
|
|
void dialog_switch_add (WDialog * h);
|
|
|
|
void dialog_switch_remove (WDialog * h);
|
2010-06-18 14:35:27 +04:00
|
|
|
size_t dialog_switch_num (void);
|
2010-04-18 14:58:18 +04:00
|
|
|
|
|
|
|
void dialog_switch_next (void);
|
|
|
|
void dialog_switch_prev (void);
|
|
|
|
void dialog_switch_list (void);
|
|
|
|
|
|
|
|
int dialog_switch_process_pending (void);
|
2010-06-05 18:48:06 +04:00
|
|
|
void dialog_switch_got_winch (void);
|
2010-05-30 18:43:50 +04:00
|
|
|
void dialog_switch_shutdown (void);
|
2010-04-18 14:58:18 +04:00
|
|
|
|
2023-04-23 13:22:05 +03:00
|
|
|
/* Redraw all dialogs */
|
|
|
|
void do_refresh (void);
|
|
|
|
|
2011-02-16 19:11:19 +03:00
|
|
|
void repaint_screen (void);
|
2024-07-28 19:50:55 +03:00
|
|
|
MC_MOCKABLE void mc_refresh (void);
|
2011-02-18 14:30:15 +03:00
|
|
|
void dialog_change_screen_size (void);
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
#endif /* MC__DIALOG_SWITCH_H */
|