Module The window
#include <macaw.h>
Functions
- window
- Says what size your window should be and what its title bar says.
- realtime
- Makes your window draw every frame, which games and animations need.
- windowscale
- Shows every pixel of your window bigger, for pixel art.
- resizable
- Says whether people can resize your window with its size box.
- redraw
- Asks for your window to be drawn again on the next frame.
- close
- Closes your window, asking first if it has unsaved work.
- settitle
- Changes the words in your window's title bar while the program runs.
- windowmin
- Sets the smallest size people can resize your window to.
- windowcolors
- Asks for the screen to show this many colours while your program runs.
- windowcursor
- Shows or hides the pointer while it's over your window.
- fullscreen
- Asks to make your window fill the screen, or puts it back.
- focused
- Tells you whether your window is the one in front, for example to pause a game when it isn't.