General
Look at Functions' Home first.
These functions are used to enable and make use of globalMonitorBuffer.
globalMonitorBuffer.clear
Clears globalMonitorBuffer.frames.newFrame
globalMonitorBuffer.write
| argument | type | info |
|---|---|---|
| x | Int | The x pos on globalMonitorBuffer.frames.newFrame where text should be written |
| y | Int | The y pos on globalMonitorBuffer.frames.newFrame where text should be written |
| text | String | The text that should be written on x, y of globalMonitorBuffer.frames.newFrame |
| fg | Color | The color of the text |
| bg | Color | The background of the text (can be set to nil if transparentBG is set to true) |
| transparentBG | Boolean | If the text should have transparent background |
Writes text at x, y with color fg and background color bg or transparentBG on globalMonitorBuffer.frames.newFrame.
globalMonitorBuffer.draw
Draws globalMonitorBuffer.frames.newFrame on globalMonitor