Port of nanogui to dlang.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
Release 1.0.0 is a regular release and is not a major one. The only reason to make this release was transition to dsemver. It means that versions like 0.x.x are not possible so this release was numbered 1.0.0. The release contains experimental widgets List and TreeView but they are under development, also arsd backed has been dropped.
D port of nanogui
The port is incomplete - not all widgets are ported, but all ported widgets are fully usable.
There is difference with origin. For example:
- instead of const references passing by value is used
- as a color and vector implementation gfm.math is used (in origin eigen used as a vector implementation and own implementation of color type)
- no locking on glfw, instead two backends are available - arsd.simpledisplay (no external dependencies) and SDL2 (depends on SDL2 library obviously), SDL backend is more developed than arsd one (due to lack of time). Other backend like glfw, sfml etc can be easily added, nanogui is agnostic to underlying layer.
On Ubuntu and debian based Linux run this command to install system dependencies:
sudo apt-get install libfontconfig1-dev
git clone https://github.com/drug007/nanogui.git
examples contains a package, providing example for
sdl backends. To run example
cd example/sdl and run
dub command. For example:
cd examples/sdl dub
Screenshot is a bit old and do not show some widgets for example GLCanvas
- Registered by Alexandr Druzhinin
- 1.1.0 released 4 months ago
- Copyright © 2018-2020, drug007
- gfm7:opengl, gfm7:sdl2, arsd-official:nanovega, auxil, gfm:math
1.1.0 2021-Apr-26 1.0.1 2021-Apr-26 1.0.0 2021-Apr-12 0.4.0 2020-Mar-18 0.3.1 2020-Mar-06
- Download Stats:
0 downloads today
0 downloads this week
0 downloads this month
77 downloads total
- Short URL: