lui: a simple cross platform gui library for lua
What is it?
This is a binding of libui (https://github.com/andlabs/libui) to lua. It is almost complete (as of 50.05.2018), but still early in development and very much in flux. As is libui. All of libui is linked together with the lua specific stuff into one module, so that you need only one dynamic library. Currently only lua 5.3 and linux are supported, work will continue to support lua down to 5.1, and also Windows and Mac OS X, and to keep up with new libui features. Also, luarocks.
The module is currently built using a Makefile. You will need git to fetch a recent version of libui. A simple `make` should build the module lui.so, a `make doc` will create a html documentation file for the module.
As this is still in development, updates to the repo will happen without announcements on this page of the tset.de landing page.
- 2018-05-22 updated to build with new version of libui. The new text rendering stuff isn't in yet.
- 2018-05-30 The new text rendering stuff is almost complete and working.
- 2018-06-01 ... fully complete and working.
Currently there is the auto generated reference for lui. Examples are in the samples subfolder of the project source.
Given its early state, lui is available only from its mercurial repository at
The lui module and all accompanying documentation and additional source code is released under the terms of the MIT license.
Copyright (c) 2016-2018 Gunnar Zötl
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you have anything to say about this, comments, bug reports, whatever, feel free to email them to