Create Dear ImGui GUIs in jank.
- cmake
- a C++ compiler
- GLFW3
- libGL
Add the following dependency to your Leiningen project file:
[io.github.kylc/jank-imgui "0.1.1"]See API.md.
See the examples.
(ns e01-hello
(:require
[imgui.ui :as ui]
[imgui.backend.glfw-opengl2 :as backend]))
(defn root []
(ui/with-window {:name "e01-hello"}
(ui/text "Hello world")))
(defn -main [& args]
(backend/run {:name "eo1-hello"} #'root))