Skip to content
V Nuklear module -- nuklear wrapper
V Makefile AMPL
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/mainnk_v Change vsdl2.SdlEvent to vsdl2.Event Nov 11, 2019
LICENSE Initial import Nov 7, 2019
Makefile Initial import Nov 7, 2019
README.md Initial import Nov 7, 2019
v.mod Initial import Nov 7, 2019
vnk.v Initial import Nov 7, 2019

README.md

vnk

V Nuklear module -- nuklear wrapper

If you are new to nuklear see here

Current APIs available/tested in examples :

  • create SDL2 / OpenGL window
  • set clear color
  • create nuklear subwindows
  • create widgets : buttons, slider, text inputs, color picker, etc...
  • persistent layout
  • debug tools : FPS, stats, etc..

Examples

See in examples/mainnk_v/mainnk_v.v This is a V port of Nuklear sdl_opengl3 demo

Dependencies

Ubuntu : $ sudo apt install git cmake libsdl2-dev libglew-dev libsdl2-ttf-dev libsdl2-mixer-dev

ClearLinux : $ sudo swupd bundle-add git cmake devpkg-SDL2 devpkg-glew devpkg-SDL2_ttf devpkg-SDL2_mixer

Windows/MSYS2 : $ pacman -S msys/git mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-glew mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_mixer

You can’t perform that action at this time.