Skip to content

dinau/luajitImGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.6dock (2025/01)

Examples


glfw_opengl3_simple

This can load and save image file with magnifying glass.

glfw_opengl3

With magnifying glass.

glfw_opengl3_implot
See more example: implot_sample.lua

Showing font of local language with magnifying glass.

glfw_opengl3_jp

With magnifying glass.

sdl2_opengl3

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

ImGuizmo_sample

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

imnodes_graph_sample

This sample is attached by anima project. You can execute this sample,

pwd
luajitImGui-1.91.0.0
cd bin/examples
../luajit.exe delaunay_particles.lua

delaunay_particles

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
  • 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 19.1.6 (Current compiler)
    • Libraries: OpenMP
  • Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)
  • (Microsoft Visual Studio 2022 C/C++)
  • CMake version 3.30.3
  • Git version 2.46.0.windows.1
  • Make: GNU Make 4.4.1

History


  • WindowsOS 64bit versions

    Date ImGui / CImGui LuaJITImGui Commemt
    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
    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 Project
Nim Compiler ImGuin, Nimgl_test, Nim_implot
Lua Script LuaJITImGui
Zig, C lang. Compiler Dear_Bindings_Build
Zig Compiler ImGuinZ
NeLua Compiler NeLuaImGui
Python Script DearPyGui for 32bit WindowsOS Binary

SDL Game tutorial Platfromer


ald

Language Project
Nim Compiler Nim-Platformer/ sdl3_nim
LuaJIT Script LuaJIT-Platformer
Nelua Compiler NeLua-Platformer
Zig Compiler Zig-Platformer

Other link2