www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dimgui - A port of imgui, the immediate-mode OpenGL GUI library

reply Andrej Mitrovic via Digitalmars-d-announce writes:
If you need a very minimal but usable GUI library for your OpenGL
applications, then an immediate-mode GUI such as IMGUI could be just
the trick. IMGUI has been ported to D and can be found at the
following links:

https://github.com/d-gamedev-team/dimgui
http://code.dlang.org/packages/dimgui

dimgui is zlib-licensed.
May 22 2014
parent "Kiith-Sa" <kiithsacmp gmail.com> writes:
On Thursday, 22 May 2014 at 15:20:42 UTC, Andrej Mitrovic via 
Digitalmars-d-announce wrote:
 If you need a very minimal but usable GUI library for your 
 OpenGL
 applications, then an immediate-mode GUI such as IMGUI could be 
 just
 the trick. IMGUI has been ported to D and can be found at the
 following links:

 https://github.com/d-gamedev-team/dimgui
 http://code.dlang.org/packages/dimgui

 dimgui is zlib-licensed.
I'm starting work on a (very) small tool using dimgui. When building an example ("demo"), I had to explicitly tell DUB to link the GLFW library - shouldn't this already be handled by the GLFW bindings? (Also, on Linux you have to tell it to link dl...) I.e. I added the following to dub.json of the example: "libs": [ "dl", "glfw" ], I assume it works on Windows without this? (if so, how to change it so it works on both?) I'm on Linux (Mint 17 x64, similar to Ubuntu 14.04) - btw, Mint17/Ubuntu14.04 only has GLFW2 in the repo, which confused me when I had GLFW but still saw unresolved symbols - but the next release will probably have GLFW3. Also: it would be nice to have example/s that is completely standalone, can be copied by itself and works (currently examples depend on the DroidSans.ttf file higher up the directory tree) - maybe even in a separate repo.
Jul 04 2014