Repository

vig

V ImGui module -- dear imgui / cimgui wrapper

If you are new to dear imgui see here If you are new to cimgui see here

Current APIs available/tested in examples :

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

Examples

See in examples/mainig_v/mainig_v.v This is a V port of ImGui example_sdl_opengl3

Dependencies

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

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

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

About

0
310
1 year ago

Author

nsauzede