The cimgui project

portable imgui in c

Stephan D.
2 min readApr 26, 2015

I needed a flexible and easy to use intermediate GUI for one of my projects in D. There was a pretty descent library natively written in D called dimgui that I started to use. It made me fall in love with the simple concept of an IMGUI but I was soon wanting more features than this library provided.

I started looking around for something similar but more mature. I found IMGUI written in C++ but with a very simple C-like interface. I wrote a c-wrapper cimgui for it and afterwards added bindings for the D programming lanugage in a derelict-like style.

See the original imgui example below in a D application:

This is a screenshot of my user interface written in it:

This (pseudo) code shows the cimgui usage in the D programming language:

You can find the full example D project on github: imgui_d_test

Originally published at extrawurst.github.io on April 26, 2015.

For feedback reach out to me on Twitter @extrawurst

--

--

Stephan D.
Stephan D.

Written by Stephan D.

Founder of gameroasters and @liveask1 , #indie #gamedev, #rust enthusiast, worked previously at @innogames , @ubisoft

Responses (1)