Skip to content

dinau/luajitImGui

Repository files navigation

alt

LuaJITImGui


  • LuaJIT + ImGui : The binaries project on WindowsOS using anima project
    Differencies from anima project are as follows,
    1. Added compilation option for IME (Imput method)

      -DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS
    2. Added compilation option for ImPlot

      -DImDrawIdx="unsigned int"
    3. Included newer Font Awesome Icon fonts.

    4. Added *.bat files to easily execute example programs.

    5. Added luajitw.exe to hide console window on background.

    6. Added simple examples like ImGuin / ImGuinZ project.

  • Support OS: Windows10 or later

ImGui / CImGui Version


  • v1.91.8dock (2025/03)

Examples


This sample is attached by anima project. You can execute this sample using implot3d_sample.bat in bin/examples/LuaJIT-ImGui/examples folder.

alt

alt

alt

This can load and save image file with magnifying glass.

alt

With magnifying glass.

alt
See more example: implot_sample.lua

Showing font of local language with magnifying glass.

alt

With magnifying glass.

alt

This sample is attached by anima project. You can execute this sample using ImGuizmo_sample.bat in bin/examples/LuaJIT-ImGui/examples folder.

alt

This sample is attached by anima project. You can execute this sample using imnodes_graph_sample.bat in bin/examples/LuaJIT-ImGui/examples folder.

alt

Other samples


These samples are attached by anima project. You can execute samples with *.bat files.

alt

alt

alt

alt

alt

alt

Download Zip binary


Running examples


First on WindowsOS extract zip file downloaded then
for instance,

cd luajitImGui-1.91.0.0
cd examples/glfw_opengl3
glfw_opengl3.exe         # or double click on Windows file explore

Other examples


Refer to nice exmaples: bin/examples

Build binaries from source


  • Prerequisites
    Install at least on MSys2/MinGW console,

    pacman -S mingw-w64-ucrt-x86_64-{cmake,gcc,clang,llvm-openmp} patch make git
  • Build on MSys2 console,

    git clone --recurse-submodules https://github.com/dinau/luajitImGui
    cd luajitImGui
    make clean
    make

    That's all :-)

My tools version


  • Clang 20.1.0 (Current compiler)
    • Libraries: OpenMP
  • Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)
  • (Microsoft Visual Studio 2022 C/C++)
  • CMake version 3.31.6
  • Git version 2.46.0.windows.1
  • Make: GNU Make 4.4.1

History


  • WindowsOS 64bit versions

    Date ImGui / CImGui LuaJITImGui Commemt
    2025/03 v1.91.8 v1.91.8.2
    2025/01 v1.91.6 v1.91.6.0
    2024/10 v1.91.4 v1.91.4.0
    2024/10 v1.91.2 v1.91.2.0
    2024/09 v1.91.1 v1.91.1.0
    2024/09 v1.91.0 v1.91.0.3
  • WindowsOS 32bit versions

    Date ImGui / CImGui LuaJITImGui Commemt
    2024/08 v1.91.0 v1.91.0.2 Last version
    2024/07 v1.90.9 v1.90.9.0
    2024/06 v1.90.8 v1.90.8.0
    2024/05 v1.90.7 v1.90.7.0
    2024/05 v1.90.6 v1.90.6.2
    2024/03 v1.90.4 v1.90.4.0
    2024/02 v1.90.1 v1.90.1.3 Added: Button "Save window image" and combo box, it can be saved as JPEG, PNG, TIFF, BMP file format
    2024/01 v1.90.1 v1.90.1.0 Added: Icon font demo

Similar project ImGui / CImGui


Language 1 Project
Lua Script LuaJITImGui
NeLua Compiler NeLuaImGui
Nim Compiler ImGuin, Nimgl_test, Nim_implot
Python Script DearPyGui for 32bit WindowsOS Binary
Ruby Script igRuby_Examples
Zig, C lang. Compiler Dear_Bindings_Build
Zig Compiler ImGuinZ

SDL game tutorial Platfromer


ald

Language 1 SDL Project
LuaJIT Script SDL2 LuaJIT-Platformer
Nelua Compiler SDL2 NeLua-Platformer
Nim Compiler SDL3 / SDL2 Nim-Platformer-sdl2/ Nim-Platformer-sdl3
Ruby Script SDL3 Ruby-Platformer
Zig Compiler SDL2 Zig-Platformer

Other link2


Footnotes

  1. Alphabectial order 2