Macaw OS C reference

Module The system

#include <macaw.h>

Functions

platform
Tells you what Macaw OS is running on.
ismac
Checks whether Macaw OS is running on any kind of Mac.
modkey
Gives the name of the key people hold for shortcuts, so your help text can name the right one.
memory
Tells you how much memory your program has and how much the machine has.
sys_version
Tells you which version of Macaw OS this is.
sys_fps
Tells you how fast Macaw OS is drawing right now.
sys_display
Finds out the size of the whole screen and how many colours it shows.
sys_volume
Reads the volume of all sound in Macaw OS, and can change it.
sys_screenshot
Saves a picture of the whole screen as a PNG file.
sys_title
Sets the title of the window Macaw OS runs in on the computer underneath.
sys_cursor
Shows or hides the computer's own pointer over Macaw OS.
sys_clipboard
Gets the text on the computer's own clipboard.
sys_setclipboard
Puts text on the computer's own clipboard.