home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / clib / progs / haswinlib / info / vdu < prev    next >
Encoding:
Text File  |  1991-02-04  |  2.4 KB  |  76 lines

  1. /*
  2.  *      VDU variables codes.
  3.  *
  4.  *      VDUVAR_<name> are the codes to give the HASWIN routines to get the
  5.  *      VDU variable <name>.
  6.  */
  7.  
  8. #define VDUVAR_ModeFlags        0
  9. #define VDUVAR_ScrRCol          1
  10. #define VDUVAR_ScrBRow          2
  11. #define VDUVAR_NColour          3
  12. #define VDUVAR_XEigFactor       4
  13. #define VDUVAR_YEigFactor       5
  14. #define VDUVAR_LineLength       6
  15. #define VDUVAR_ScreenSize       7
  16. #define VDUVAR_YShftFactor      8
  17. #define VDUVAR_Log2BPP          9
  18. #define VDUVAR_Log2BPC         10
  19. #define VDUVAR_XWindLimit      11
  20. #define VDUVAR_YWindLimit      12
  21. #define VDUVAR_GWLCol          13
  22. #define VDUVAR_GWBRow          14
  23. #define VDUVAR_GWRCol          15
  24. #define VDUVAR_GWTRow          16
  25. #define VDUVAR_TWLCol          17
  26. #define VDUVAR_TWBRow          18
  27. #define VDUVAR_TWRCol          19
  28. #define VDUVAR_TWTRow          20
  29. #define VDUVAR_OrgX            21
  30. #define VDUVAR_OrgY            22
  31. #define VDUVAR_GCsX            23
  32. #define VDUVAR_GCsY            24
  33. #define VDUVAR_OlderGCsX       25
  34. #define VDUVAR_OlderGCsY       26
  35. #define VDUVAR_OldGCsX         27
  36. #define VDUVAR_OldGCsY         28
  37. #define VDUVAR_GCsIX           29
  38. #define VDUVAR_GCsIY           30
  39. #define VDUVAR_NewPtX          31
  40. #define VDUVAR_NewPtY          32
  41. #define VDUVAR_ScreenStart     33
  42. #define VDUVAR_DisplayStart    34
  43. #define VDUVAR_TotalScreenSize 35
  44. #define VDUVAR_GPLFMD          36
  45. #define VDUVAR_GPLBMD          37
  46. #define VDUVAR_GFCOL           38
  47. #define VDUVAR_GBCOL           39
  48. #define VDUVAR_TForeCol        40
  49. #define VDUVAR_TBackCol        41
  50. #define VDUVAR_GFTint          42
  51. #define VDUVAR_GBTint          43
  52. #define VDUVAR_TFTint          44
  53. #define VDUVAR_TBTint          45
  54. #define VDUVAR_MaxMode         46
  55. #define VDUVAR_GCharSizeX      47
  56. #define VDUVAR_GCharSizeY      48
  57. #define VDUVAR_GCharSpaceX     49
  58. #define VDUVAR_GCharSpaceY     50
  59. #define VDUVAR_HLineAddr       51
  60. #define VDUVAR_TCharSizeX      52
  61. #define VDUVAR_TCharSizeY      53
  62. #define VDUVAR_TCharSpaceX     54
  63. #define VDUVAR_TCharSpaceY     55
  64. #define VDUVAR_GcolOraEorAddr  56
  65. #define VDUVAR_WindowWidth     57
  66. #define VDUVAR_WindowHeight    58
  67. #define VDUVAR_ModeNumber      59 /* current mode, updated by OS_BYTE(135) */
  68. #define VDUVAR_CharXsize       60
  69. #define VDUVAR_CharYsize       61
  70.  
  71. #define VDUVAR_MAXVARS         62
  72. int     haswin_readvduvariable(int);
  73. int     haswin_updateallvduvariables(int *);
  74. int     haswin_updatevduvariable(int);
  75.  
  76.