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