Slab
https://github.com/coding-jackalope/Slab
https://github.com/coding-jackalope/Slab/wiki
Latest Version: v0.7.2
Slab is an immediate mode GUI toolkit for the Love 2D framework. This library is designed to allow users to easily add this library to their existing Love 2D projects and quickly create tools to enable them to iterate on their ideas quickly. The user should be able to utilize this library with minimal integration steps and is completely written in Lua and utilizes the Love 2D API. No compiled binaries are required and the user will have access to the source so that they may make adjustments that meet the needs of their own projects and tools. Refer to main.lua and SlabTest.lua for example usage of this library.
Code: Select all
local Slab = require 'Slab'
function love.load(args)
love.graphics.setBackgroundColor(0.4, 0.88, 1.0)
Slab.Initialize(args)
end
function love.update(dt)
Slab.Update(dt)
Slab.BeginWindow('MyFirstWindow', {Title = "My First Window"})
Slab.Text("Hello World")
Slab.EndWindow()
end
function love.draw()
Slab.Draw()
end
This is the first release of the library to the public. It is in alpha currently as all desired controls are not supported yet. Refer to the wiki for more information on the controls that are supported. All questions, comments, and suggestions are welcome as this is the first project I have released to the Love community. Hope this helps out anyone out there.
I have attached a .rar of the first release. This release comes with a main.lua and can be run to see what Slab is currently capable of.