Macaw OS C reference

Function display_width

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

Tells you how wide the whole screen is now.

Parameters

It takes nothing.

Returns int

The screen's width in pixels.

In The screen, with display_height, display_current, display_sizes, display_size, display_request.