An immediate mode GUI for the Love2D framework, forked from https://github.com/coding-jackalope/Slab to submit patches

coding.jackalope 7117f239a8 [BugFix][File Dialog]: File validation should ignore replacing extension when All Files is specified. 6 rokov pred
Internal 7117f239a8 [BugFix][File Dialog]: File validation should ignore replacing extension when All Files is specified. 6 rokov pred
API.lua a800a9dcd6 [API]: Version update and documentation. 6 rokov pred
LICENSE b9bd559fab Update LICENSE 6 rokov pred
README.md 3d23407413 [Docs]: Removed Docs folder. 6 rokov pred
Slab.lua 21a2b9e226 Initial check-in. 6 rokov pred
SlabDebug.lua f496b356d3 [Window]: Stack windows for input and draw order. 6 rokov pred
SlabTest.lua 01d5ed06ac [File Dialog]: Filter by extension. 6 rokov pred
Style.lua 21a2b9e226 Initial check-in. 6 rokov pred
changelog.txt a800a9dcd6 [API]: Version update and documentation. 6 rokov pred
conf.lua 21a2b9e226 Initial check-in. 6 rokov pred
init.lua 21a2b9e226 Initial check-in. 6 rokov pred
main.lua 21a2b9e226 Initial check-in. 6 rokov pred

README.md

Slab

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.

Usage

Integrating this library into existing projects is very simple.

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

For more detailed information on usage of this library, refer to the Wiki.

License

Slab is licensed under the MIT license. Please see the LICENSE file for more information.