| WINDOW_AMS1 | Type (Structure)

graphing.h, wingraph.h, unknown.h

typedef struct WindowStruct_AMS1 {
| unsigned short Flags; /* Window flags */
| unsigned char CurFont; /* Current font */
| unsigned char CurAttr; /* Current attribute */
| unsigned char Background; /* Current background attribute */
| short TaskId; /* Task ID of owner */
| short CurX, CurY; /* Current (x,y) position (relative coordinates) */
| short CursorX, CursorY; /* Cursor (x,y) position */
| SCR_RECT Client; /* Client region of the window (excludes border) */
| SCR_RECT Window; /* Entire window region including border */
| SCR_RECT Clip; /* Current clipping region */
| SCR_RECT Port; /* Port region for duplicate screen */
| unsigned short DupScr; /* Handle of the duplicated or saved screen area */
| struct WindowStruct *Next; /* Pointer to the next window in the linked list */
| char *Title; /* Pointer to the (optional) title */
} WINDOW_AMS1;

The main window-describing structure (AMS 1.xx version).

WINDOW_AMS1 is the AMS 1.xx version of the WINDOW structure. It is a little smaller, since the last two fields are missing. Usually, this is not important, but it is a problem if a window structure is included in other structures (like EQU_DS).

See also: WINDOW