Description
Haskell bindings for rlImGui.
Description
This package contains simple bindings to the functions defined in rlImGui, allowing raylib and Dear ImGui interop
README.md
raylib-imgui: Haskell bindings for rlImGui
This package provides bindings to rlImGui allowing raylib and dear-imgui interop.
Usage
Add the following in your .cabal
file:
...
build-depends:
, base
, dear-imgui==1.2.2
, gl
, GLFW-b
, h-raylib
, raylib-imgui==4.5.0.9
...
NOTE: Each version of raylib-imgui requires a specific version of dear-imgui. raylib-imgui 4.5.0.9 requires dear-imgui 1.2.2
And in your cabal.project
file add the following:
package dear-imgui
flags: -sdl +glfw +opengl3
This is required because raylib uses GLFW rather than SDL.
See the example
directory in the source for example code.
See also
- dear-imgui.hs for Dear ImGui setup
- h-raylib for rayllib setup.