Macaw OS C reference

Function window

#include <macaw.h>
void window(int w, int h, const char *title);

Says what size your window should be and what its title bar says. Call it in main, and it takes the place of Lua's WINDOW table.

Parameters

wint
The width of the inside of the window, in pixels. It's at least 8, and made smaller if it wouldn't fit on the screen.
hint
The height of the inside of the window, in pixels. It's at least 8, and made smaller if it wouldn't fit.
titleconst char *
The words in the title bar. NULL keeps the program's own name.

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