Difference between revisions of "Gwee"

(I have stopped developing Gwee and deleted the Github repository, so this page no longer serves a purpose.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Gwee is a small GUI toolkit for love2d.
+
Gwee is no longer actively developed.
 
 
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:
 
 
 
<source lang="lua">
 
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.update(dt)
 
    gui:update(dt)
 
end
 
 
 
function love.draw()
 
    gui:draw()
 
end
 
</source>
 
 
 
More information can be found in the [http://github.com/ZephyrMC/Gwee/blob/master/README README] and the [http://github.com/ZephyrMC/Gwee/blob/master/API.txt API documentation].
 
 
 
You can get Gwee from the [http://github.com/ZephyrMC/Gwee Github repository].
 
 
 
{{#set:LOVE Version=0.7.2}}
 
{{#set:Description=Small GUI toolkit}}
 
[[Category:Libraries]]
 

Latest revision as of 02:29, 9 August 2012

Gwee is no longer actively developed.