Posted 12 June 2018 - 04:55 PM
A notifications API would be very cool to have. If an OS wanted to get a person's attention (say a program was done downloading) the blank bottom-right corner of the computer would turn a certain color (one of the colors from the color pallet)
How it would be used:
The most recent notifications color will be displayed on the front of the screen.
How it would be used:
notifications.send("Hello World!", colors.lightBlue) -- sends a notification
notifications.receive(colors.lightBlue) -- receives all notifications and returns them as a table. If a color was provided, then it would return all notifications with that color
notifications.clear() -- Clears all notifacations.
The most recent notifications color will be displayed on the front of the screen.