root/lib/tty/tty-ncurses.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 
   2 #ifndef MC__TTY_NCURSES_H
   3 #define MC__TTY_NCURSES_H
   4 
   5 /* for cchar_t, getcchar(), setcchar() */
   6 #ifndef _XOPEN_SOURCE_EXTENDED
   7 #define _XOPEN_SOURCE_EXTENDED
   8 #endif
   9 
  10 #ifdef USE_NCURSES
  11 #ifdef HAVE_NCURSES_CURSES_H
  12 #include <ncurses/curses.h>
  13 #elif defined (HAVE_NCURSES_NCURSES_H)
  14 #include <ncurses/ncurses.h>
  15 #elif defined (HAVE_NCURSESW_CURSES_H)
  16 #include <ncursesw/curses.h>
  17 #elif defined (HAVE_NCURSES_HCURSES_H) || defined (HAVE_NCURSES_H)
  18 #include <ncurses.h>
  19 #else
  20 #include <curses.h>
  21 #endif
  22 #endif /* USE_NCURSES */
  23 
  24 #ifdef USE_NCURSESW
  25 #include <ncursesw/curses.h>
  26 #endif /* USE_NCURSESW */
  27 
  28 /* netbsd-libcurses doesn't define NCURSES_CONST */
  29 #ifndef NCURSES_CONST
  30 #define NCURSES_CONST const
  31 #endif
  32 
  33 /* do not draw shadows if NCurses is built with --disable-widec */
  34 #if defined(NCURSES_WIDECHAR) && NCURSES_WIDECHAR
  35 #define ENABLE_SHADOWS 1
  36 #endif
  37 
  38 /*** typedefs(not structures) and defined constants **********************************************/
  39 
  40 /*** enums ***************************************************************************************/
  41 
  42 /*** structures declarations (and typedefs of structures)*****************************************/
  43 
  44 /*** global variables defined in .c file *********************************************************/
  45 
  46 /*** declarations of public functions ************************************************************/
  47 
  48 /*** inline functions ****************************************************************************/
  49 
  50 #endif /* MC_TTY_NCURSES_H */

/* [previous][next][first][last][top][bottom][index][help]  */