WIN_RECT Type (Structure)

events.h, graph.h, statline.h, textedit.h, wingraph.h, unknown.h

typedef struct {
short x0, y0, x1, y1;
} WIN_RECT;

A structure for defining a rectangular area.

WIN_RECT is a scructure for defining a rectangular area using logical screen coordinates.

Note: TIGCC is derived from GNU C, so it allows cast constructors. That's why constructions like

WinOpen (&w, &(WIN_RECT){30, 30, 130, 80}, WF_SAVE_SCR);
are legal. See WinOpen for info about this command.