Macaw OS C reference

Function screenheight

#include <macaw.h>
int screenheight(void);

Tells you how tall your window's picture is. Ask again after the window is resized.

Parameters

It takes nothing.

Returns int

The height in pixels.

In The window's memory, with screenmem, screenwidth.