@hackage raylib-imgui4.5.0.9

Haskell bindings for rlImGui

  • Installation

  • Dependencies (2)

  • Dependents (0)

  • Package Flags

      example
       (off by default)

      Build example project

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