Manual pages: mcmcdiffmceditmcview

root/lib/tty/tty-slang.h

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

INCLUDED FROM


   1 
   2 #ifndef MC__TTY_SLANG_H
   3 #define MC__TTY_SLANG_H
   4 
   5 #include <slang.h>
   6 
   7 /*** typedefs(not structures) and defined constants **********************************************/
   8 
   9 #define KEY_F(x)       (1000 + x)
  10 
  11 #define COLS           SLtt_Screen_Cols
  12 #define LINES          SLtt_Screen_Rows
  13 
  14 #define ENABLE_SHADOWS 1
  15 
  16 /*** enums ***************************************************************************************/
  17 
  18 enum
  19 {
  20     KEY_BACKSPACE = 400,
  21     KEY_END,
  22     KEY_UP,
  23     KEY_DOWN,
  24     KEY_LEFT,
  25     KEY_RIGHT,
  26     KEY_HOME,
  27     KEY_A1,
  28     KEY_C1,
  29     KEY_NPAGE,
  30     KEY_PPAGE,
  31     KEY_IC,
  32     KEY_ENTER,
  33     KEY_DC,
  34     KEY_SCANCEL,
  35     KEY_BTAB
  36 };
  37 
  38 /*** structures declarations (and typedefs of structures)*****************************************/
  39 
  40 /*** global variables defined in .c file *********************************************************/
  41 
  42 extern int reset_hp_softkeys;
  43 
  44 /*** declarations of public functions ************************************************************/
  45 
  46 /*** inline functions ****************************************************************************/
  47 
  48 #endif

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