Gwee
Gwee is a small GUI toolkit for love2d.
Gwee's widget set is currently very small and still a little buggy, but it has a couple of cool features:
- Skinning
- XML widget layouts
Here is a small example program:
require "gwee"
function sayHi()
print("Hi!")
end
function love.load()
gui = gwee.GUI()
gui:add(gwee.Button(100, 100, 100, 30, "Button!", sayHi))
gui:add(gwee.TextField(100, 100, 100, 30, "Text Field:"))
end
function love.keypressed(key, unicode)
gui:keypressed(key, unicode)
end
function love.mousepressed(x, y, button)
gui:mousepressed(x, y, button)
end
function love.draw()
gui:draw()
end
More information can be found in the README and the API documentation.
You can get Gwee from the Github repository.