Quickie
Simple(r) GUI implementation
Quickie is a immediate mode gui implementation for LÖVE.
In immediate mode GUIs you don't have button-objects, slider-objects and other-objects that you create and attach callbacks to in one place and query/modify in another place. Rather, all widgets are simply functions that place it where you want it. In addition, widgets don't keep track of their state (e.g. the slider value) - you have to do it. This approach makes a lot of things easier:
- Want to hide the widget? Simply don't call it!
- Want to place the widget at a changing position, for example above the player's head? Simply call it with appropriate arguments!
- Want to get a slider/inputbox/checkbox/whatevercoolwidget-value? It's already there!
Code at github: https://github.com/vrld/Quickie
Forum post: https://love2d.org/forums/viewtopic.php?f=5&t=7811