home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / SCRIMG.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  1.6 KB  |  101 lines

  1. #define SCRIMG_OPH
  2.  
  3. #ifndef SCRLAY_OPH
  4. #include <sdk\scrlay>
  5. #endif
  6.  
  7. #ifndef APPMAN_OPH
  8. #include <sdk\appman>
  9. #endif
  10.  
  11. #ifndef WLIB_OPH
  12. #include <sdk\wlib>
  13. #endif
  14.  
  15. /* Property of wrap */
  16.  
  17. STRUCT PRS_WRAP
  18.     scrimg%
  19. ENDS
  20.  
  21. STRUCT PR_WRAP
  22.     root#(SIZEOF(PRS_ROOT))
  23.     active#(SIZEOF(PRS_ACTIVE))
  24.     wrap#(SIZEOF(PRS_WRAP))
  25. ENDS
  26.  
  27. /* Constants for scrimg */
  28.  
  29. #define SCRIMG_LINEDN 0x00
  30. #define SCRIMG_LINEUP 0x01
  31. #define SCRIMG_PAGEDN 0x02
  32. #define SCRIMG_PAGEUP 0x03
  33. #define SCRIMG_LINBEG 0x04
  34. #define SCRIMG_LINEND 0x05
  35. #define SCRIMG_SETPOS 0x06
  36. #define SCRIMG_FORMAT_DELETE_LEFT 1
  37. #define SCRIMG_FORMAT_DELETE_RIGHT 2
  38. #define SCRIMG_FORMAT_TYPING 3
  39. #define SCRIMG_PAN_SETNOPAN 0
  40. #define SCRIMG_PAN_DELTA 1
  41. #define SCRIMG_PAN_ABS 2
  42. #define SCRIMG_STCHNG_DOC 0
  43. #define SCRIMG_STCHNG_PARA 1
  44. #define SCRIMG_STCHNG_LINE 2
  45. #define SCRIMG_FLAGS_PAGEBREAK 0x01
  46. #define SCRIMG_FLAGS_S3_COMPAT 0x02
  47.  
  48. /* Types for scrimg */
  49.  
  50. STRUCT SCRIMG_WIN
  51.     wid%
  52.     tl#(SIZEOF(P_POINT))
  53.     nlines%
  54.     lheight#
  55.     lascent#
  56.     width%
  57.     margin%
  58.     lcfont%
  59.     cwidth#
  60.     lcstyle#
  61.     lccode#
  62.     hscrlx#
  63.     hscrlm#
  64.     drawplabs#
  65. ENDS
  66.  
  67. /* Property of scrimg */
  68.  
  69. STRUCT PRS_SCRIMG
  70.     wrap%
  71.     lay%
  72.     win#(SIZEOF(SCRIMG_WIN))
  73.     anc#(SIZEOF(SCRLAY_PLX))
  74.     crs#(SIZEOF(SCRLAY_PLX))
  75.     oldcrs#(SIZEOF(SCRLAY_PLX))
  76.     txwidth%
  77.     mrwidth%
  78.     xleft%
  79.     xright%
  80.     lcwidth#
  81.     lcline#
  82.     updownx%
  83.     select#
  84.     formatting#
  85.     isredraw#
  86.     GCcreated#
  87.     emphasised#
  88.     plabchange#
  89.     nopan#
  90.     flags#
  91.     lfmt%
  92.     lgood%
  93.     xo%
  94.     gc#(SIZEOF(G_GC))
  95. ENDS
  96.  
  97. STRUCT PR_SCRIMG
  98.     root#(SIZEOF(PRS_ROOT))
  99.     scrimg#(SIZEOF(PRS_SCRIMG))
  100. ENDS
  101.