ddui is a BetterC-compatible Immediate Mode User Interface.
This is a D port of rxi/microui after being angry at my Imgui/Nuklear bindings not working. I'd like to personally thank rxi for making microui and Mike Parker for bindbc-opengl and bindbc-sdl.
Like the original, the library does not do any rendering of its own, but contains commands to draw text, shapes, and icons originating from the library that needs to be implemented in your application in order to work.
It does not aim to be ABI or API compatible.
- BetterC compatibility.
- Support for D strings in non-betterC settings.
- Index-based command stack buffer.
- Demo: Fixed host window resizing (clipping).
- Embedded documentation.
- Textbox input navigation.
There are two examples: demo (multi-embedded windows) and demo_app (full window).
Both use SDL2 dynamic packages, which you will need on your system.
On Windows, place sdl2.dll in the same directory.
Both have gl11 (OpenGL 1.1, default) and gl33 (OpenGL 3.3) configurations.
Running the demo example: dub :demo -c gl33 --compiler=ldc2
Both demos have these options:
--debug: Show debug information on screen (demoonly)--vsync: Force vsync on (this is the default)--no-vsync: Force vsync off--adaptive-vsync: Use adaptive vsync