Luajit GUI

  • From: "Victor Bombi" <sonoro@xxxxxxxxxxxxxx>
  • To: <luajit@xxxxxxxxxxxxx>
  • Date: Wed, 22 Feb 2017 20:09:58 +0100

Hello,

Lua has never had a lot of options for making GUIs. I have used wxLua mainly because its scintilla editor. When I wanted something smaller IUP lua was my choice.
Recently trying to find a substitute for AntTweakBar (widgets in openGL programing) I discovered imgui which has implementations for glfw, SDL and others.

https://github.com/ocornut/imgui

My conclusion is that it is not only an API for game widgets but a real and portable GUI system (there are even implementations for android)

My aproach has been

https://github.com/sonoro1234/cimgui/tree/lua_build

which only needs glfw as in

https://github.com/sonoro1234/LuaJIT-GLFW/tree/lua_building

minimal example

https://github.com/sonoro1234/cimgui/blob/lua_build/lua/minimal_main.lua

Hope it helps people looking for GUI alternatives

victor bombi



Other related posts: