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

  1. #define WIN_OPH
  2.  
  3. #ifndef OLIB_OPH
  4. #include <sdk\olib>
  5. #endif
  6.  
  7. #ifndef WLIB_OPH
  8. #include <sdk\wlib>
  9. #endif
  10.  
  11. /* Constants for win */
  12.  
  13. #define CURSOR_WIDTH 2
  14. #define CURSOR_COLWID 2
  15. #define SYSTEM_FONT_COLWID 2
  16. #define W_KEY_SPACE 32
  17. #define PR_BWIN_CUSHION 0x1
  18. #define PR_BWIN_CORNER_4 0x2
  19. #define PR_BWIN_SHADOW_1 0x4
  20. #define PR_BWIN_SHADOW_2 0x8
  21. #define PR_WIN_EMPHASISED 0x10
  22. #define PR_BWIN_OPEN 0x20
  23. #define PR_BWIN_CORNER_1 0x40
  24. #define PR_WIN_IS_DLCTRL 0x80
  25. #define PR_WIN_INITIALISED 0x800
  26. #define PR_WIN_FORCE_RIGHT 0x1000
  27. #define PR_WIN_FORCE_LEFT 0x2000
  28. #define PR_WIN_FORCE_BOTTOM 0x4000
  29. #define PR_WIN_FORCE_TOP 0x8000
  30. #define PR_WIN_FORCE_FLAGS 0xf000
  31. #define WIN_3dBORDER PR_WIN_FORCE_RIGHT
  32. #define WIN_FROM_ATS PR_WIN_FORCE_LEFT
  33. #define IN_WIN_EMPHASISED (PR_WIN_EMPHASISED)
  34. #define WV_INVISIBLE 0
  35. #define WV_VISIBLE 1
  36. #define WV_INITINVIS 2
  37. #define WV_INITVIS 3
  38. #define WN_KEY_NO_CHANGE 0
  39. #define WN_KEY_CHANGED 3
  40. #define WN_KEY_CHANGED_DEFER    7
  41. #define WN_KEY_CANCELLED (-1)
  42. #define WN_KEY_ABSORB_ON (-2)
  43. #define ERROR_RID_OFFSET 512
  44.  
  45. /* Property of win */
  46.  
  47. STRUCT PRS_WIN
  48.     id%
  49.     flags%
  50. ENDS
  51.  
  52. STRUCT PR_WIN
  53.     root#(SIZEOF(PRS_ROOT))
  54.     win#(SIZEOF(PRS_WIN))
  55. ENDS
  56.