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 *********************************************************/
|
|
|
|
|
2012-09-28 11:18:45 +04:00
|
|
|
extern WDialog *midnight_dlg;
|
2011-02-16 19:11:19 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
2012-09-28 11:18:45 +04:00
|
|
|
void dialog_switch_add (struct WDialog *h);
|
|
|
|
void dialog_switch_remove (struct 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
|
|
|
|
2011-02-16 19:11:19 +03:00
|
|
|
/* Clear screen */
|
|
|
|
void clr_scr (void);
|
|
|
|
void repaint_screen (void);
|
2011-10-01 17:50:16 +04:00
|
|
|
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 */
|