dialog-switch.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 (WDialog * h);
  11. void dialog_switch_remove (WDialog * h);
  12. size_t dialog_switch_num (void);
  13. void dialog_switch_next (void);
  14. void dialog_switch_prev (void);
  15. void dialog_switch_list (void);
  16. int dialog_switch_process_pending (void);
  17. void dialog_switch_got_winch (void);
  18. void dialog_switch_shutdown (void);
  19. /* Clear screen */
  20. void clr_scr (void);
  21. void repaint_screen (void);
  22. void mc_refresh (void);
  23. void dialog_change_screen_size (void);
  24. /*** inline functions ****************************************************************************/
  25. #endif /* MC__DIALOG_SWITCH_H */