Macaw OS C reference

Function windowcolors

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

Asks for the screen to show this many colours while your program runs. Call it in main; the person is asked when the window opens, and if they don't allow it, your program closes.

Parameters

coloursint
8, 256 or COLORS_THOUSANDS. Any other number, such as 0, leaves the screen as it is.

In The window, with window, realtime, windowscale, resizable, redraw, close, settitle, windowmin, windowcursor, fullscreen, focused.