Features include :
- single file lib for easy inclusion
- range of one-line GUI elements with default functionality, including circular elements, button, checkbox, scrollgroup, auto-positioning feedback, etc
- easy callbacks for a wide range of events
- element grouping with cascading styles
- flexible positioning type with operator functions
- instanced GUI for easy implementation and interaction across multiple screens
- direct access to GUI elements and attributes via reference
Code: Select all
gui = require('Gspot')
button = gui:button('do thing', {x = 64, y = 64, w = 64})
button.click = function(this) gui:feedback('thing done') end
github : https://github.com/trubblegum/Gspot
I try to keep the github wiki up to date, but it may lag a day or two behind.
The license says you can do what you want with it, but don't blame me if you break it or it breaks you

enjöy