home *** CD-ROM | disk | FTP | other *** search
/ Dream 48 / Amiga_Dream_48.iso / Atari / c / libs / e_gemut2.lzh / SOURCE / KEYS.C
C/C++ Source or Header  |  1995-01-27  |  786b  |  24 lines

  1.  
  2. #include <e_gem.h>
  3. #include <string.h>
  4. #include <stdio.h>
  5.  
  6. /* Definition der Tasten für das Fensterscrolling */
  7.  
  8. MITEM scroll_keys[] = 
  9. {{FAIL,key(CTRLLEFT,0),K_CTRL,PAGE_LEFT,FAIL},{FAIL,key(CTRLRIGHT,0),K_CTRL,PAGE_RIGHT,FAIL},
  10.  {FAIL,key(SCANLEFT,0),0,LINE_LEFT,FAIL},{FAIL,key(SCANLEFT,0),K_SHIFT,LINE_START,FAIL},
  11.  {FAIL,key(SCANRIGHT,0),0,LINE_RIGHT,FAIL},{FAIL,key(SCANRIGHT,0),K_SHIFT,LINE_END,FAIL},
  12. #ifndef FONTPAL
  13.  {FAIL,key(SCANUP,0),0,LINE_UP,FAIL},{FAIL,key(SCANUP,0),K_SHIFT,PAGE_UP,FAIL},
  14.  {FAIL,key(SCANDOWN,0),0,LINE_DOWN,FAIL},{FAIL,key(SCANDOWN,0),K_SHIFT,PAGE_DOWN,FAIL},
  15.  {FAIL,key(SCANHOME,0),0,WIN_START,FAIL},{FAIL,key(SCANHOME,0),K_SHIFT,WIN_END,FAIL}
  16. #endif
  17. };
  18.  
  19. #ifdef FONTPAL
  20. #define SCROLL_KEYS    6
  21. #else
  22. #define SCROLL_KEYS    12
  23. #endif
  24.