dialog-switch.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef MC__DIALOG_SWITCH_H
  2. #define MC__DIALOG_SWITCH_H
  3. #include <sys/types.h>
  4. /*** typedefs(not structures) and defined constants **********************************************/
  5. /*** enums ***************************************************************************************/
  6. /*** structures declarations (and typedefs of structures)*****************************************/
  7. /*** global variables defined in .c file *********************************************************/
  8. extern WDialog *midnight_dlg;
  9. /*** declarations of public functions ************************************************************/
  10. void dialog_switch_add (struct WDialog *h);
  11. void dialog_switch_remove (struct WDialog *h);
  12. size_t dialog_switch_num (void);
  13. void dialog_switch_next (void);
  14. void dialog_switch_prev (void);
  15. int dialog_switch_process_pending (void);
  16. void dialog_switch_got_winch (void);
  17. void dialog_switch_shutdown (void);
  18. /* Clear screen */
  19. void clr_scr (void);
  20. void repaint_screen (void);
  21. void mc_refresh (void);
  22. void dialog_change_screen_size (void);
  23. /*** inline functions ****************************************************************************/
  24. #endif /* MC__DIALOG_SWITCH_H */