imgui.backend.glfw-opengl2imgui.uibegin- Push a new window to the stack.begin-childbegin-combobulletbuttoncalc-text-sizecheckboxcontent-region-availcursor-screen-posdisplay-sizedummyend- Pop the current window from the stack.end-childend-comboinput-textinput-text-multilinenew-linepop-idpop-style-colorpop-style-varprogress-barpush-idpush-style-colorpush-style-varradio-buttonsame-lineselectableseparatorset-cursor-posset-cursor-pos-xset-cursor-pos-ysmall-buttontexttext-linkvec2- Coerce to ImVec2.vec2->vec4- Coerce to ImVec4.vec4->with-childwith-combowith-scope- Supported keys are are :id (seepush-id), :style (seepush-style-varfor options), :color (seepush-style-colorfor options), etc.with-window- Wrap an expression inside a new window.
(run {:keys [name width height frame-rate], :or {name "", width 200, height 200}} app)Function.
(begin {:keys [name pos size collapsed? min-size max-size bg-alpha window-flags], :or {name ""}})Function.
Push a new window to the stack.
(begin-child {:keys [name size child-flags window-flags], :or {name "", size [0.0 0.0]}, :as attrs})Function.
(begin-combo {:keys [label preview-value], :or {preview-value ""}})Function.
(bullet)Function.
(button {:keys [label size on-click], :or {label "", size [0.0 0.0]}})Function.
(calc-text-size s)Function.
(checkbox {:keys [label checked?]})Function.
(content-region-avail)Function.
(cursor-screen-pos)Function.
(display-size)Function.
(dummy size)Function.
(end)Function.
Pop the current window from the stack.
(end-child)Function.
(end-combo)Function.
(input-text label text)Function.
(input-text-multiline label text)Function.
(new-line)Function.
(pop-id)Function.
(pop-style-color)
(pop-style-color n)Function.
(pop-style-var)
(pop-style-var n)Function.
(progress-bar fraction)Function.
(push-id id)Function.
(push-style-color var value)Function.
(push-style-var var value)Function.
(radio-button {:keys [label active?], :or {active? false}})Function.
(same-line)Function.
(selectable label selected?)Function.
(separator)
(separator text)Function.
(set-cursor-pos v)Function.
(set-cursor-pos-x x)Function.
(set-cursor-pos-y y)Function.
(small-button {:keys [label]})Function.
(text s)Function.
(text-link label)
(text-link label url)Function.
(vec2 xy)
(vec2 x y)Macro.
Coerce to ImVec2.
(vec2-> v)Macro.
(vec4 xyzw)
(vec4 x y z w)Macro.
Coerce to ImVec4.
(vec4-> v)Macro.
(with-child attrs & body)Macro.
(with-combo attrs & body)Macro.
(with-scope attrs & body)Macro.
Supported keys are are :id (see push-id), :style (see
push-style-var for options), :color (see push-style-color for
options), etc.
(with-window attrs & body)Macro.
Wrap an expression inside a new window.
If the window is closed then the body will not be evaluated. Prefer
this over manual calls to begin and end. See begin for allowed
options.
Returns true/false to indicate the window is open/closed.