Function display_current
#include <macaw.h>void display_current(int *w, int *h, int *colours);
Tells you the screen's size and how many colours it shows, all in one call.
Parameters
wint *- Where to put the width in pixels: pass the address of an
int, like&w, orNULL. hint *- Where to put the height in pixels: pass the address of an
int, like&h, orNULL. coloursint *- Where to put the number of colours (8, 256 or
COLORS_THOUSANDS): pass&colours, orNULL.
In The screen, with display_width, display_height, display_sizes, display_size, display_request.