home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / Epoc / Palmtime / files / FrotzS5_src.ZIP / S5frotz.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-09  |  1.4 KB  |  53 lines

  1. /*
  2.  * "S5frotz.h"
  3.  *
  4.  *
  5.  */
  6. #ifndef _S5FROTZ_H
  7. #define _S5FROTZ_H
  8.  
  9. #ifndef far
  10. #define far
  11. #endif
  12. #ifndef NULL
  13. #define NULL 0
  14. #endif
  15. #define byte0(v)    ((byte *)&v)[0]
  16. #define byte1(v)    ((byte *)&v)[1]
  17. #define byte2(v)    ((byte *)&v)[2]
  18. #define byte3(v)    ((byte *)&v)[3]
  19. #define word0(v)    ((word *)&v)[0]
  20. #define word1(v)    ((word *)&v)[1]
  21.  
  22. #ifndef HISTORY_MIN_ENTRY
  23. #define HISTORY_MIN_ENTRY 1
  24. #endif
  25.  
  26. #define SPECIAL_KEY_MIN 0x1000
  27. #define SPECIAL_KEY_WORD_RIGHT 0x1000
  28. #define SPECIAL_KEY_WORD_LEFT 0x1001
  29. #define SPECIAL_KEY_HOME 0x1002
  30. #define SPECIAL_KEY_END 0x1003
  31. #define SPECIAL_KEY_PAGE_UP 0x1004
  32. #define SPECIAL_KEY_PAGE_DOWN 0x1005
  33. #define SPECIAL_KEY_DELETE 0x1006
  34. #define SPECIAL_KEY_MAX 0x1006
  35. //#define SPECIAL_KEY_INSERT 261
  36. //#define SPECIAL_KEY_TAB 264
  37.  
  38. typedef unsigned char byte;
  39. typedef unsigned short word;
  40.  
  41.  
  42. // /* BCinit  */    short    dectoi (struct sg *g, const char *);
  43. // /* BCinit  */    short    hextoi (struct sg *g, const char *);
  44. /* BCmouse */    short     detect_mouse (struct sg *g);
  45. /* BCmouse */    short     read_mouse (struct sg *g);
  46. /* BCpic   */    short     init_pictures (struct sg *g);
  47. /* BCpic   */    void     reset_pictures (struct sg *g);
  48. /* BCsmpl  */    short     init_sound (struct sg *g);
  49. /* BCsmpl  */    void     reset_sound (struct sg *g);
  50. /* BCtext  */    void    switch_scrn_attr (struct sg *g, short);
  51. /* BCtext  */    void     load_fonts (struct sg *g, const char *);
  52. #endif
  53.