package imguiml
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
ImGUI bindings to OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
imguiml-1.93.0.tbz
sha256=0ed8c5cc5d1c5effc225fe5e78e175205d3cacf78ceaea16a5140c98721b3a0b
sha512=c221949dbab410dc7a4d4a51a7eee140a3adf8ff6f5d95a36023631dbc02717c834a865452793d5f75b1ac5afaff71a9cd8c620ded6240ca9df1bf6ff9d1f0b4
doc/CHANGELOG.html
Changelog
v1.93.0
Tue 27 Oct 18:05:40 JST 2026, @let-def
Dear ImGui 1.93.0
- Dear ImGui 1.93.0 (docking), from 1.90.6: cimgui's
1.93docktag, regenerated for ImGui'sv1.93.0-dockingtag. ImGui's GLFW and OpenGL3 backends follow. ImGui's API changes between the two show in the bindings. Among those most programs meet:
- fonts:
PushFonttakes a size; the atlas is built as glyphs are needed, by a renderer that handles textures (BackendFlags.renderer_has_textures, which ImGui's own backends set). Without a renderer, set that flag rather than building the atlas (GetTexDataAsRGBA32is gone); - getters return vectors by value;
OpenPopupreturns whether it opened;AddRecttakes its thickness before its flags;AddLineandAddCircletake flags;ChildFlags.BorderisBorders;GetIOisget_io_nil.
- fonts:
- Structs passed by value are bound once, with their plain names:
Types.Vec2is cimgui'sImVec2_c, and so forVec4,Vec2i,RectandTextureRef. - Structs with bit fields are opaque, since C cannot take the offset of their fields; in 1.93 they are
FontGlyph,FontBaked,DockNode,Window,WindowSettings,Table,TableColumn,TableSettings,TableColumnSettingsand a few internal ones.
FreeType
- Fonts are loaded with FreeType instead of stb_truetype: CFF2 and variable fonts are read (a variable font's named instance in the upper 16 bits of the font's index), and glyphs can be hinted, emboldened or coloured through
FontConfig.font_loader_flags. - FreeType's API is bound:
Bindings.ImGuiFreeTypeandTypes.FreeTypeLoaderFlags. - The package depends on
conf-freetype. CMake finds FreeType with itsFindFreetypemodule, which needs no package configuration from the distribution.
Unicode beyond U+FFFF
ImWcharis 32 bits wide (IMGUI_USE_WCHAR32, defined in ImGui'simconfig.hand for the bindings): characters beyond U+FFFF, such as emoji, are no longer replaced by U+FFFD. Glyph ranges and the characters queued inIoare arrays of 32-bit values. C code that includescimgui.hmust defineIMGUI_USE_WCHAR32.
Build
- Builds on all architectures, arm64 included.
- goblint-cil (2.0.5) is a development dependency only (
with-dev-setup): the bindings it generates are committed, and a release build (-p) uses them without running the generator. - The generator skips variadic functions.
- Include paths are relative to the dune files: the package builds when dune runs from anywhere, also as part of a larger dune workspace.
- The bindings promoted into
srcno longer carry the date they were generated: a build leaves them unchanged unless cimgui changes. - The test compares its output with a file, without ppx_expect.
- cimgui and the backends are compiled once, position independent, for both the static and the shared library, instead of once for each.
v1.90.6
- Bindings to Dear ImGui 1.90.6 (docking) through cimgui, and to ImGui's GLFW and OpenGL3 backends.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page