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

  1. #ifndef GRAPHICS_OPH
  2. #define GRAPHICS_OPH
  3.  
  4. /* giprint flags */
  5.  
  6. #define G_TOP_LEFT    0
  7. #define G_BOT_LEFT    1
  8. #define G_TOP_RIGHT    2
  9. #define G_BOT_RIGHT    3
  10.  
  11. /* cursor types used with cursor command */
  12.  
  13. #define W_CURSOR_OBLOID        1
  14. #define W_CURSOR_NO_FLASH    2
  15. #define W_CURSOR_GREY        4
  16.  
  17. /* gborder flags */
  18.  
  19. #define GB_ONE_PIX_SHADOW    1
  20. #define GB_ONE_PIX_SGAP        2
  21. #define GB_TWO_PIX_SHADOW    3
  22. #define GB_TWO_PIX_SGAP        4
  23. #define GB_ONE_PIX_GAP        $100
  24. #define GB_ROUNDED        $200
  25.  
  26. /* gbutton flags */
  27.  
  28. #define GBUT_S3        0
  29. #define GBUT_S3A    1
  30.  
  31. #define GBUT_RAISED    0
  32. #define GBUT_FLAT    1
  33. #define GBUT_SUNKEN    2
  34.  
  35. /* gclock flags */
  36.  
  37. #define GCLOCK_SYSTEM    6
  38. #define GCLOCK_ANALOG    7
  39. #define GCLOCK_DIGITAL    8
  40. #define GCLOCK_LARGE    9
  41. #define GCLOCK_FDIGITAL    10
  42.  
  43. #define GCLOCK_DATE    $10
  44. #define GCLOCK_SECONDS    $20
  45. #define GCLOCK_AMPM    $40
  46. #define GCLOCK_GREY    $80
  47.  
  48. /* Graphics mode flag */
  49.  
  50. #define G_SET        0
  51. #define G_CLEAR        1
  52. #define G_INVERT    2
  53. #define G_REPLACE    3
  54.  
  55. /* Bit-plane flags */
  56.  
  57. #define G_BLACK_PLANE    0
  58. #define G_GREY_PLANE    1
  59. #define G_BOTH_PLANES    2
  60.  
  61. /* Gdrawobject flags */
  62.  
  63. #define GDRAW_LOZENGE        0
  64. #define GDRAW_LMOREROUNDED    1
  65. #define GDRAW_LROUNDED        2
  66.  
  67. /* gstyle flags */
  68.  
  69. #define G_STY_NORMAL        0
  70. #define G_STY_BOLD        $01
  71. #define G_STY_UNDERLINE        $02
  72. #define G_STY_INVERSE        $04
  73. #define G_STY_DOUBLE        $08
  74. #define G_STY_MONO        $10
  75. #define G_STY_ITALIC        $20
  76. #define G_STY_SUBSCRIPT2    $40
  77. #define G_STY_SUPERSCRIPT2    $80
  78. #define G_STY_SUBSCRIPT        $100
  79. #define G_STY_SUPERSCRIPT    $200
  80.  
  81. /* gxprint flags */
  82.  
  83. #define GX_NORMAL        0
  84. #define GX_INV            1
  85. #define GX_INV_NCORNERS        2
  86. #define GX_THIN_INV        3
  87. #define GX_THIN_INV_NCORNERS    4
  88. #define GX_UNDERLINE        5
  89. #define GX_THIN_UNDERLINE    6
  90.  
  91. /* Screeninfo defines */
  92.  
  93. #define SI_LEFT_MARGIN    1
  94. #define SI_TOP_MARGIN    2
  95. #define SI_TEXT_WIDTH    3
  96. #define SI_TEXT_HEIGHT    4
  97. #define SI_WSERVID    5
  98. #define SI_FONTID    6
  99. #define SI_CHAR_WIDTH    7
  100. #define SI_CHAR_HEIGHT    8
  101.  
  102. /* Statuswin & statuswininfo command flags */
  103.  
  104. #define W_STATUS_WINDOW_SMALL    1
  105. #define W_STATUS_WINDOW_BIG    2
  106. #define W_STATUS_WINDOW_CTBY    3
  107.  
  108. #endif
  109.