Skip to content
V ImGui module -- dear imgui / cimgui wrapper
C++ V Makefile AMPL
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/mainig 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
imgui_impl_opengl3.h Initial import Nov 7, 2019
imgui_impl_sdl.h Initial import Nov 7, 2019
v.mod Initial import Nov 7, 2019
vig.v Fix nsauzede/vig path Nov 7, 2019

README.md

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

You can’t perform that action at this time.